git.iko.soy/typeable/pandoc
on master help sign in
Added test for #5986.
b0c5ecbJohn MacFarlane
test/command/5986.mdnew file+16
@@ -0,0 +1,16 @@
1+```
2+% pandoc -t epub --number-sections --toc --metadata title=Foo | pandoc -f epub -t html
3+# Hi
4+^D
5+<p><span id="title_page.xhtml"></span></p>
6+<p><span id="nav.xhtml"></span></p>
7+<nav type="landmarks" id="landmarks" hidden="hidden">
8+<ol>
9+<li><a href="#nav.xhtml#toc">Table of contents</a></li>
10+</ol>
11+</nav>
12+<p><span id="ch001.xhtml"></span></p>
13+<section id="ch001.xhtml#hi" class="level1 section" data-number="1">
14+<h1 data-number="1"><span class="header-section-number">1</span> Hi</h1>
15+</section>
16+```