marked/test/tests/links_reference_style.text

72 lines
791 B
Plaintext
Raw Normal View History

2011-08-21 19:49:24 -05:00
Foo [bar] [1].
Foo [bar][1].
Foo [bar]
[1].
[1]: /url/ "Title"
2011-08-22 22:13:00 -05:00
With [embedded [brackets]] [b].
2011-08-21 19:49:24 -05:00
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][].
2011-08-22 22:13:00 -05:00
And [this].
2011-08-21 19:49:24 -05:00
But not [that] [].
Nor [that][].
2011-08-22 22:13:00 -05:00
Nor [that].
2011-08-21 19:49:24 -05:00
2011-08-22 22:13:00 -05:00
[Something in brackets like [this][] should work]
2011-08-21 19:49:24 -05:00
2011-08-22 22:13:00 -05:00
[Same with [this].]
2011-08-21 19:49:24 -05:00
In this case, [this](/somethingelse/) points to something else.
2011-08-22 22:13:00 -05:00
Backslashing should suppress \[this] and [this\].
2011-08-21 19:49:24 -05:00
[this]: foo
* * *
2011-08-22 22:13:00 -05:00
Here's one where the [link
breaks] across lines.
2011-08-21 19:49:24 -05:00
2011-08-22 22:13:00 -05:00
Here's another where the [link
breaks] across lines, but with a line-ending space.
2011-08-21 19:49:24 -05:00
[link breaks]: /url/