aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/section-divs.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/command/section-divs.md b/test/command/section-divs.md
new file mode 100644
index 000000000..6e2412e04
--- /dev/null
+++ b/test/command/section-divs.md
@@ -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>
+```