aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-17 10:17:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-17 11:59:52 -0800
commit204c7bb943d712690911af869161e8c66789bc53 (patch)
treefeafc90ab8d01c847db530cba6a0e9ca4fc64282
parentabb0e35b940686fd01e70d79bab4221372eb8c16 (diff)
downloadpandoc-204c7bb943d712690911af869161e8c66789bc53.tar.gz
Add section-divs command test (failing).
-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>
+```