aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-reader-more.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-03 20:43:44 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-03 20:43:44 -0800
commit5a4f7ec595cb3c141d372c967a75c956a9173dc1 (patch)
tree842d1cd13bc85fcca2d49ab2c6ecd8815cfad5af /tests/markdown-reader-more.txt
parentc435e9cda7eb73cf4d8c446bb829079dddfaedbc (diff)
downloadpandoc-5a4f7ec595cb3c141d372c967a75c956a9173dc1.tar.gz
Added tests for implicit header references.
Diffstat (limited to 'tests/markdown-reader-more.txt')
-rw-r--r--tests/markdown-reader-more.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt
index b99bb3121..01fcd5952 100644
--- a/tests/markdown-reader-more.txt
+++ b/tests/markdown-reader-more.txt
@@ -133,3 +133,17 @@ $\tuple{x,y}$
a. one
b. two
+
+## Implicit header references
+
+### My header
+
+### My other header
+
+A link to [My header].
+
+Another link to [it][My header].
+
+[my other header]: /foo
+
+But this is not a link to [My other header], since the reference is defined.