mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Revert "Markdown reader: avoid duplicate ids with auto_identifiers."
This reverts commit eff82cfe4d.
This commit is contained in:
@@ -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>
|
||||
```
|
||||
|
||||
@@ -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>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user