aboutsummaryrefslogtreecommitdiff
path: root/tests/basic/links-reference.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/links-reference.txt')
-rw-r--r--tests/basic/links-reference.txt61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/basic/links-reference.txt b/tests/basic/links-reference.txt
new file mode 100644
index 0000000..3d636e5
--- /dev/null
+++ b/tests/basic/links-reference.txt
@@ -0,0 +1,61 @@
+Foo [bar] [1].
+
+Foo [bar][1].
+
+Foo [bar]
+[1].
+
+[1]: /url/ "Title"
+
+
+With [embedded [brackets]] [b].
+
+
+Indented [once][].
+
+Indented [twice][].
+
+Indented [thrice][].
+
+Indented [four][] times.
+
+ [once]: /url
+
+ [twice]: /url
+
+ [thrice]: /url
+
+ [four]: /url
+
+
+[b]: /url/
+
+With [angle brackets][].
+
+And [without][].
+
+[angle brackets]: <http://example.com/> "Angle Brackets"
+[without]: http://example.com/ "Without angle brackets."
+
+With [line
+breaks][]
+
+and [line
+breaks][] with one space.
+
+and [line
+breaks[] with two spaces.
+
+[line breaks]: http://example.com "Yes this works"
+
+[short ref]
+
+[short
+ref]
+
+[short ref]: http://example.com "No more hanging empty bracket!"
+
+[a ref]
+
+[a ref]: http://example.com
+ "Title on next line."