mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
ff22116426
This reverts commit eff82cfe4d.
489 B
489 B
% 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>