summaryrefslogtreecommitdiff
path: root/test/command/2397.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/2397.md')
-rw-r--r--test/command/2397.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/2397.md b/test/command/2397.md
new file mode 100644
index 000000000..34d201362
--- /dev/null
+++ b/test/command/2397.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f markdown_mmd
+# Chapter 1: A long name of chapter [Chapter 1]
+
+See [Chapter 1].
+^D
+<h1 id="chapter1">Chapter 1: A long name of chapter</h1>
+<p>See <a href="#chapter1">Chapter 1</a>.</p>
+```