aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-06-02 08:59:27 -0700
committerJohn MacFarlane <[email protected]>2022-06-02 09:01:18 -0700
commitad845c0376a6e1b40336599323cf910d03295741 (patch)
tree5f3e73670747da2658a97d48b5a065209a6a1024 /test/command
parent98a1b921e3f79f5c807599aaf47165d4a36d7f3f (diff)
makeSections: don't make a section for a div with class "fragments".
Closes #8098.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8098.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/command/8098.md b/test/command/8098.md
new file mode 100644
index 000000000..319644534
--- /dev/null
+++ b/test/command/8098.md
@@ -0,0 +1,36 @@
+```
+% pandoc -t revealjs --slide-level=2
+# Title 1
+
+## Slide 1
+
+Text.
+
+::: fragment
+### Sub Slide header
+
+Text.
+:::
+
+## Slide 2
+
+Text.
+^D
+<section>
+<section id="title-1" class="title-slide slide level1">
+<h1>Title 1</h1>
+
+</section>
+<section id="slide-1" class="slide level2">
+<h2>Slide 1</h2>
+<p>Text.</p>
+<div class="fragment">
+<h3 id="sub-slide-header">Sub Slide header</h3>
+<p>Text.</p>
+</div>
+</section>
+<section id="slide-2" class="slide level2">
+<h2>Slide 2</h2>
+<p>Text.</p>
+</section></section>
+```