aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-05 09:17:28 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-05 09:17:28 -0800
commit4489283b03fecce31c49f37809932cebb8b72d46 (patch)
tree7987ebbb4d3de6ed48b3cdb68256b274eba5c9d8 /test
parent28a2a6e5345f2dc51632bdd3ca2b063cc08d896d (diff)
downloadpandoc-4489283b03fecce31c49f37809932cebb8b72d46.tar.gz
Fix makeSections so it doesn't turn column divs into sections.
Diffstat (limited to 'test')
-rw-r--r--test/command/make-section-column-divs.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/command/make-section-column-divs.md b/test/command/make-section-column-divs.md
new file mode 100644
index 000000000..0e8548233
--- /dev/null
+++ b/test/command/make-section-column-divs.md
@@ -0,0 +1,28 @@
+For reference see
+https://groups.google.com/d/msgid/pandoc-discuss/cef24253-7731-417c-a1ee-48153c4344bf%40googlegroups.com
+
+```
+% pandoc
+::: columns
+::: column
+# A
+
+a
+:::
+::: column
+# B
+
+b
+:::
+:::
+^D
+<div class="columns">
+<div class="column">
+<h1 id="a">A</h1>
+<p>a</p>
+</div><div class="column">
+<h1 id="b">B</h1>
+<p>b</p>
+</div>
+</div>
+```