SGML

Markdown Short Link Examples

short-link0
Pandoc-style short link example
short-link1
Using short link syntax when the link target isn't defined
short-link2
Alternate pandoc-style short link syntax
short-link2
Using alternate short link syntax when the link target isn't defined

short-link0

This demonstrates [pandoc-style-shortlinks], where the link text is
omitted.

[pandoc-style-shortlinks]: http://bla.bla
  "Pandoc-style short links"

Rendered HTML

<p>This demonstrates <a href="http://bla.bla" title="Pandoc-style short links">pandoc-style-shortlinks</a>, where the link text is
omitted.
</p>

short-link1

This demonstrates [pandoc-style-shortlinks], where, like in short-link0.txt,
 the link doesn't contain a link title, but isn't defined later on.

Rendered HTML

<p>This demonstrates [pandoc-style-shortlinks], where, like in short-link0.txt,
 the link doesn't contain a link title, but isn't defined later on.
</p>

short-link2

This demonstrates [not-so-shortlinks][], where the link id is
present but empty.

[not-so-shortlinks]: http://bla.bla
  "Pandoc-style short links"

Rendered HTML

<p>This demonstrates <a href="http://bla.bla" title="Pandoc-style short links">not-so-shortlinks</a>, where the link id is
present but empty.
</p>

short-link2

This demonstrates [not-so-shortlinks][], where the link id is
present but empty.

[not-so-shortlinks]: http://bla.bla
  "Pandoc-style short links"

Rendered HTML

<p>This demonstrates <a href="http://bla.bla" title="Pandoc-style short links">not-so-shortlinks</a>, where the link id is
present but empty.
</p>