aboutsummaryrefslogtreecommitdiff
path: root/test/command/6030.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-05 09:35:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-05 09:42:35 -0800
commit0dff9b3cd2cd222e5eeebd880f38b38ad5ee58f0 (patch)
tree9ad8eb3ce5e2cfeace4902b96324002b60dbc2ef /test/command/6030.md
parentb96febddef9d48318c3532ce1f484d0ee7367946 (diff)
downloadpandoc-0dff9b3cd2cd222e5eeebd880f38b38ad5ee58f0.tar.gz
Fix revealjs slide structure regression with certain slide levels.
Partially addresses #6030.
Diffstat (limited to 'test/command/6030.md')
-rw-r--r--test/command/6030.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/command/6030.md b/test/command/6030.md
new file mode 100644
index 000000000..943150432
--- /dev/null
+++ b/test/command/6030.md
@@ -0,0 +1,35 @@
+```
+% pandoc -t revealjs --slide-level=3
+# One
+
+One
+
+## Two
+
+Two
+
+### Three
+
+Three
+
+#### Four
+
+Four
+^D
+<section id="one" class="title-slide slide level1">
+<h1>One</h1>
+<p>One</p>
+</section>
+<section>
+<section id="two" class="title-slide slide level2">
+<h2>Two</h2>
+<p>Two</p>
+</section>
+<section id="three" class="slide level3">
+<h3>Three</h3>
+<p>Three</p>
+<h4 id="four">Four</h4>
+<p>Four</p>
+</section>
+</section>
+```