pandoc/test/command/5986.md

19 lines
589 B
Markdown
Raw Normal View History

2019-12-17 19:24:43 +01:00
```
% pandoc -t epub --number-sections --toc --metadata title=Foo -o - | pandoc -f epub -t html
2019-12-17 19:24:43 +01:00
# Hi
^D
<p><span id="title_page.xhtml"></span></p>
<p><span id="nav.xhtml"></span></p>
<nav epub:type="landmarks" id="landmarks" hidden="hidden">
2019-12-17 19:24:43 +01:00
<ol>
<li><a href="text/title_page.xhtml" class="titlepage">Title
Page</a></li>
<li><a href="#nav.xhtml#toc" class="toc">Table of Contents</a></li>
2019-12-17 19:24:43 +01:00
</ol>
</nav>
<p><span id="ch001.xhtml"></span></p>
<section id="ch001.xhtml#hi" class="level1" data-number="1">
2019-12-17 19:24:43 +01:00
<h1 data-number="1"><span class="header-section-number">1</span> Hi</h1>
</section>
```