aboutsummaryrefslogtreecommitdiffstats
path: root/MarkdownTest/Tests/Links, reference style.html
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:30:10 -0700
committerYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:30:10 -0700
commit77aed9225bc0fbb90459a2ead7d99de9aaf1796f (patch)
tree651a09878a967cd6f337fc4261899db067b7b32c /MarkdownTest/Tests/Links, reference style.html
parenta1e606c995113ef8c65efc75cf36d2d4e9103205 (diff)
downloadmarkdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.gz
markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.bz2
markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.zip
Adding old MarkdownTest.pl tests.
Diffstat (limited to 'MarkdownTest/Tests/Links, reference style.html')
-rw-r--r--MarkdownTest/Tests/Links, reference style.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/MarkdownTest/Tests/Links, reference style.html b/MarkdownTest/Tests/Links, reference style.html
new file mode 100644
index 0000000..8e70c32
--- /dev/null
+++ b/MarkdownTest/Tests/Links, reference style.html
@@ -0,0 +1,52 @@
+<p>Foo <a href="/url/" title="Title">bar</a>.</p>
+
+<p>Foo <a href="/url/" title="Title">bar</a>.</p>
+
+<p>Foo <a href="/url/" title="Title">bar</a>.</p>
+
+<p>With <a href="/url/">embedded [brackets]</a>.</p>
+
+<p>Indented <a href="/url">once</a>.</p>
+
+<p>Indented <a href="/url">twice</a>.</p>
+
+<p>Indented <a href="/url">thrice</a>.</p>
+
+<p>Indented [four][] times.</p>
+
+<pre><code>[four]: /url
+</code></pre>
+
+<hr />
+
+<p><a href="foo">this</a> should work</p>
+
+<p>So should <a href="foo">this</a>.</p>
+
+<p>And <a href="foo">this</a>.</p>
+
+<p>And <a href="foo">this</a>.</p>
+
+<p>And <a href="foo">this</a>.</p>
+
+<p>But not [that] [].</p>
+
+<p>Nor [that][].</p>
+
+<p>Nor [that].</p>
+
+<p>[Something in brackets like <a href="foo">this</a> should work]</p>
+
+<p>[Same with <a href="foo">this</a>.]</p>
+
+<p>In this case, <a href="/somethingelse/">this</a> points to something else.</p>
+
+<p>Backslashing should suppress [this] and [this].</p>
+
+<hr />
+
+<p>Here's one where the <a href="/url/">link
+breaks</a> across lines.</p>
+
+<p>Here's another where the <a href="/url/">link
+breaks</a> across lines, but with a line-ending space.</p>