63 lines
1.3 KiB
HTML
63 lines
1.3 KiB
HTML
<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>
|
|
|
|
<p>A link reference definition cannot interrupt a paragraph.
|
|
[bar]: /baz</p>
|
|
<p>[bar]</p>
|
|
|
|
<p>However, it can directly follow other block elements, such as headings</p>
|
|
<h1 id="foo"><a href="/url">Foo</a></h1>
|
|
<blockquote>
|
|
<p>bar</p>
|
|
</blockquote>
|
|
|
|
<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>
|