aboutsummaryrefslogtreecommitdiff
path: root/test/command/5967.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-07 14:20:41 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-07 14:20:41 -0800
commit0b54d6282bb89a71433043857f4983668f9a4beb (patch)
tree7088fcba2e14b6afdd5a1451b0a2108f9fa1ee41 /test/command/5967.md
parent5295607de712fd5247e3e8ade21930c0a22c21dc (diff)
downloadpandoc-0b54d6282bb89a71433043857f4983668f9a4beb.tar.gz
Fix --toc-depth regression in 2.8.
Closes #5967.
Diffstat (limited to 'test/command/5967.md')
-rw-r--r--test/command/5967.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/5967.md b/test/command/5967.md
new file mode 100644
index 000000000..9bb802d40
--- /dev/null
+++ b/test/command/5967.md
@@ -0,0 +1,15 @@
+```
+% pandoc --toc --toc-depth=3 -s -t plain
+# One
+## Two
+#### Four
+^D
+- One
+ - Two
+
+One
+
+Two
+
+Four
+```