mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-17 17:39:54 +08:00
Add section-divs command test (failing).
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
```
|
||||
% 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>
|
||||
```
|
||||
Reference in New Issue
Block a user