``` % pandoc command/chap1/text.md command/chap2/text.md -f markdown+rebase_relative_paths --verbose -t docx -o - | pandoc -f docx -t plain ^D [INFO] Loaded command/chap1/spider.png from command/chap1/spider.png [INFO] Loaded command/chap2/spider.png from command/chap2/spider.png [INFO] Loaded command/chap1/../../lalune.jpg from command/chap1/../../lalune.jpg Chapter one A spider: [spider] Another spider: [another spider] The moon: [moon] Link to spider picture. URL left alone: manual. Absolute path left alone: absolute. Link to fragment: chapter two. Empty path: empty. Chapter two A spider: [spider] ``` ``` % pandoc command/chap1/text.md command/chap2/text.md -f markdown+rebase_relative_paths -t html ^D

Chapter one

A spider: spider

Another spider: another
spider

The moon: moon

Link to spider picture.

URL left alone: manual.

Absolute path left alone: absolute.

Link to fragment: chapter two.

Empty path: empty.

Chapter two

A spider: spider

``` ``` % pandoc command/chap1/text.md command/chap2/text.md -f commonmark+rebase_relative_paths -t html ^D

Chapter one

A spider: spider

Another spider: another
spider

The moon: moon

Link to spider picture.

URL left alone: manual.

Absolute path left alone: absolute.

Link to fragment: chapter two.

Empty path: empty.

Chapter two

A spider: spider

```