diff options
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/6384.md | 16 | ||||
| -rw-r--r-- | test/command/file1.txt | 9 | ||||
| -rw-r--r-- | test/command/file2.txt | 5 |
3 files changed, 30 insertions, 0 deletions
diff --git a/test/command/6384.md b/test/command/6384.md new file mode 100644 index 000000000..1be1c3e45 --- /dev/null +++ b/test/command/6384.md @@ -0,0 +1,16 @@ +``` +% pandoc --wrap=preserve --file-scope command/file1.txt command/file2.txt +^D +<div id="command__file1.txt"> +<h1 id="command__file1.txt__zed">Zed</h1> +<p><a href="bar">foo</a> +and <a href="#command__file1.txt__zed">Zed</a> +and <a href="#command__file2.txt__zed">other Zed</a> +and <a href="#command__file2.txt">other file</a> +and <a href="c.md#zed">foreign Zed</a></p> +</div> +<div id="command__file2.txt"> +<h2 id="command__file2.txt__zed">Zed</h2> +<p><a href="baz">foo</a></p> +</div> +``` diff --git a/test/command/file1.txt b/test/command/file1.txt new file mode 100644 index 000000000..5416f3a6c --- /dev/null +++ b/test/command/file1.txt @@ -0,0 +1,9 @@ +# Zed + +[foo]: bar + +[foo] +and [Zed](#zed) +and [other Zed](command/file2.txt#zed) +and [other file](command/file2.txt) +and [foreign Zed](c.md#zed) diff --git a/test/command/file2.txt b/test/command/file2.txt new file mode 100644 index 000000000..20ee06c8c --- /dev/null +++ b/test/command/file2.txt @@ -0,0 +1,5 @@ +## Zed + +[foo]: baz + +[foo] |
