mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
19 lines
589 B
Markdown
19 lines
589 B
Markdown
```
|
|
% pandoc -t epub --number-sections --toc --metadata title=Foo -o - | pandoc -f epub -t html
|
|
# 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">
|
|
<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>
|
|
</ol>
|
|
</nav>
|
|
<p><span id="ch001.xhtml"></span></p>
|
|
<section id="ch001.xhtml_hi" class="level1" data-number="1">
|
|
<h1 data-number="1"><span class="header-section-number">1</span> Hi</h1>
|
|
</section>
|
|
```
|