Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.34 KB

wikilinks_title_before_pipe.md

File metadata and controls

48 lines (38 loc) · 1.34 KB

Wikilinks can have one of the following forms:

[[https://example.org]]
[[title|https://example.org]]
[[name of page]]
[[title|name of page]]

With this version of wikilinks, the title comes before the pipe.

[[https://example.org]]
.
<p><a href="https://example.org" title="wikilink">https://example.org</a></p>
[[title|https://example.org]]
.
<p><a href="https://example.org" title="wikilink">title</a></p>
[[Name of page]]
.
<p><a href="Name%20of%20page" title="wikilink">Name of page</a></p>
[[Title|Name of page]]
.
<p><a href="Name%20of%20page" title="wikilink">Title</a></p>

Regular links should still work!

[Title](Name%20of%20page)
.
<p><a href="Name%20of%20page">Title</a></p>

HTML entities are recognized both in the name of page and in the link title.

[[&#xDC;ber &amp;nbsp;|Gesch&uuml;tztes Leerzeichen]]
.
<p><a href="Gesch%C3%BCtztes%20Leerzeichen" title="wikilink">Über &amp;nbsp;</a></p>