pandoc/test/command/section-divs.md
2019-12-17 11:59:52 -08:00

352 B

% pandoc  --section-divs
::: {#hi .section .level1}
# Hi

::: {#there .section .level2}
## there
:::
:::

::: {#ok .section .level1}
Ok
==
:::
^D
<section id="hi" class="level1 section">
<h1>Hi</h1>
<section id="there" class="level2 section">
<h2>there</h2>
</section>
</section>
<section id="ok" class="level1 section">
<h1>Ok</h1>
</section>