summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/footnote_link_style_01-expected.md27
-rw-r--r--tests/data/footnote_link_style_01.md18
2 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/footnote_link_style_01-expected.md b/tests/data/footnote_link_style_01-expected.md
new file mode 100644
index 0000000..0f56a8b
--- /dev/null
+++ b/tests/data/footnote_link_style_01-expected.md
@@ -0,0 +1,27 @@
+This is [an example][0] nibh tempor link.
+
+[0]: http://example.com/ (Title)
+
+[This link][1] quam erat volutpat.
+
+[1]: http://example.net/
+
+See my [About][2] page for details.
+
+[2]: /about/
+
+Cras [an example][3]
+non dapibus ipsum.
+
+[3]: http://example.com/ (Optional Title Here)
+
+Nullam semper, [an example][4]
+blandit sapien.
+
+[4]: http://example.com/ (Optional Title Here)
+
+There were [foo00][5]
+and [foo01][6] in the bar.
+
+[5]: http://example.com/foo/00 (Foo 00 Title)
+[6]: http://example.com/foo/01 (Foo 01 Title)
diff --git a/tests/data/footnote_link_style_01.md b/tests/data/footnote_link_style_01.md
new file mode 100644
index 0000000..4a02a81
--- /dev/null
+++ b/tests/data/footnote_link_style_01.md
@@ -0,0 +1,18 @@
+This is [an example](http://example.com/ "Title") nibh tempor link.
+
+[This link](http://example.net/) quam erat volutpat.
+
+See my [About][] page for details.
+
+[About]: /about/
+
+Cras [an example](http://example.com/ "Optional Title Here")
+non dapibus ipsum.
+
+Nullam semper, [an example](http://example.com/ "Optional Title Here")
+blandit sapien.
+
+There were [foo00](http://example.com/foo/00 "Foo 00 Title")
+and [foo01][foo-01] in the bar.
+
+[foo-01]: http://example.com/foo/01 (Foo 01 Title)