--- 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]] .
```````````````````````````````` ```````````````````````````````` example [[title|https://example.org]] . ```````````````````````````````` ```````````````````````````````` example [[Name of page]] . ```````````````````````````````` ```````````````````````````````` example [[Title|Name of page]] . ```````````````````````````````` Regular links should still work! ```````````````````````````````` example [Title](Name%20of%20page) . ```````````````````````````````` HTML entities are recognized both in the name of page and in the link title. ```````````````````````````````` example [[Über |Geschütztes Leerzeichen]] . ```````````````````````````````` Escaping characters is supported ```````````````````````````````` example [[foo\[\]bar|https://example.org]] . ```````````````````````````````` ```````````````````````````````` example [[Name \[of\] page]] . ```````````````````````````````` Emphasis or other inline markdown is not supported ```````````````````````````````` example [[Name _of_ page]] . ````````````````````````````````