Revert "Markdown reader: avoid duplicate ids with auto_identifiers."

This reverts commit eff82cfe4d.
This commit is contained in:
John MacFarlane
2022-10-18 12:51:12 -07:00
parent eff82cfe4d
commit ff22116426
4 changed files with 28 additions and 45 deletions
+4 -4
View File
@@ -1,16 +1,16 @@
```
% pandoc --wrap=preserve --file-scope command/file1.txt command/file2.txt
^D
<section id="command__file1.txt">
<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>
</section>
<section id="command__file2.txt">
</div>
<div id="command__file2.txt">
<h2 id="command__file2.txt__zed">Zed</h2>
<p><a href="baz">foo</a></p>
</section>
</div>
```
+3 -3
View File
@@ -14,12 +14,12 @@ Ok
:::
^D
<section id="hi" class="level1">
<h1 id="hi-1">Hi</h1>
<h1>Hi</h1>
<section id="there" class="level2">
<h2 id="there-1">there</h2>
<h2>there</h2>
</section>
</section>
<section id="ok" class="level1">
<h1 id="ok-1">Ok</h1>
<h1>Ok</h1>
</section>
```