diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-05 16:34:47 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-05 16:34:47 +0100 |
commit | e20f55618f82eb93f9ad5968e8e90b57def0d5d7 (patch) | |
tree | 3faf7c0f2212ee785155ba04ae2f22acbb662f53 /test/command | |
parent | aeb11cea4eb1d0e6f68ad71cd178cd8636dcbf5f (diff) | |
download | pandoc-e20f55618f82eb93f9ad5968e8e90b57def0d5d7.tar.gz |
Markdown reader: fixed internal header links.
Closes #2397.
This patch also adds `shortcut_reference_links` to the list
of mmd extensions.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/2397.md | 9 |
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> +``` |