aboutsummaryrefslogtreecommitdiffstats
path: root/MarkdownTest/Tests_2007/Links, reference style.text
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:36:50 -0700
committerYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:36:50 -0700
commitebefa9bb10a0b3aebb134ed8fb06b79f97040999 (patch)
tree89c1fa439ee848c2a0770f11cba3335cd4b4cbbf /MarkdownTest/Tests_2007/Links, reference style.text
parent77aed9225bc0fbb90459a2ead7d99de9aaf1796f (diff)
downloadmarkdown-ebefa9bb10a0b3aebb134ed8fb06b79f97040999.tar.gz
markdown-ebefa9bb10a0b3aebb134ed8fb06b79f97040999.tar.bz2
markdown-ebefa9bb10a0b3aebb134ed8fb06b79f97040999.zip
Moving Tests to Tests_2007.
Diffstat (limited to 'MarkdownTest/Tests_2007/Links, reference style.text')
-rw-r--r--MarkdownTest/Tests_2007/Links, reference style.text71
1 files changed, 71 insertions, 0 deletions
diff --git a/MarkdownTest/Tests_2007/Links, reference style.text b/MarkdownTest/Tests_2007/Links, reference style.text
new file mode 100644
index 0000000..341ec88
--- /dev/null
+++ b/MarkdownTest/Tests_2007/Links, reference style.text
@@ -0,0 +1,71 @@
+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/
+
+* * *
+
+[this] [this] should work
+
+So should [this][this].
+
+And [this] [].
+
+And [this][].
+
+And [this].
+
+But not [that] [].
+
+Nor [that][].
+
+Nor [that].
+
+[Something in brackets like [this][] should work]
+
+[Same with [this].]
+
+In this case, [this](/somethingelse/) points to something else.
+
+Backslashing should suppress \[this] and [this\].
+
+[this]: foo
+
+
+* * *
+
+Here's one where the [link
+breaks] across lines.
+
+Here's another where the [link
+breaks] across lines, but with a line-ending space.
+
+
+[link breaks]: /url/