--- title: Wikilinks based_on: https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/wikilinks_title_before_pipe.md --- # Wikilinks, title before pipe 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. ```````````````````````````````` example [[https://example.org]] .

https://example.org

```````````````````````````````` ```````````````````````````````` example [[title|https://example.org]] .

title

```````````````````````````````` ```````````````````````````````` example [[Name of page]] .

Name of page

```````````````````````````````` ```````````````````````````````` example [[Title|Name of page]] .

Title

```````````````````````````````` Regular links should still work! ```````````````````````````````` example [Title](Name%20of%20page) .

Title

```````````````````````````````` HTML entities are recognized both in the name of page and in the link title. ```````````````````````````````` example [[Über  |Geschütztes Leerzeichen]] .

Über  

```````````````````````````````` Escaping characters is supported ```````````````````````````````` example [[foo\[\]bar|https://example.org]] .

foo[]bar

```````````````````````````````` ```````````````````````````````` example [[Name \[of\] page]] .

Name [of] page

```````````````````````````````` Emphasis or other inline markdown is not supported ```````````````````````````````` example [[Name _of_ page]] .

Name _of_ page

````````````````````````````````