diff options
author | Yuri Takhteyev <yuri@freewisdom.org> | 2008-08-26 00:30:10 -0700 |
---|---|---|
committer | Yuri Takhteyev <yuri@freewisdom.org> | 2008-08-26 00:30:10 -0700 |
commit | 77aed9225bc0fbb90459a2ead7d99de9aaf1796f (patch) | |
tree | 651a09878a967cd6f337fc4261899db067b7b32c /MarkdownTest/Tests/Links, reference style.text | |
parent | a1e606c995113ef8c65efc75cf36d2d4e9103205 (diff) | |
download | markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.gz markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.bz2 markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.zip |
Adding old MarkdownTest.pl tests.
Diffstat (limited to 'MarkdownTest/Tests/Links, reference style.text')
-rw-r--r-- | MarkdownTest/Tests/Links, reference style.text | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/MarkdownTest/Tests/Links, reference style.text b/MarkdownTest/Tests/Links, reference style.text new file mode 100644 index 0000000..341ec88 --- /dev/null +++ b/MarkdownTest/Tests/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/ |