Support both forms of aliased wiki links
commit971bc1bdedc8c33297399d348a176bb219b699f1
authorJason Blevins <jrblevin@sdf.org>
Sun, 20 Nov 2011 18:41:41 +0000 (20 13:41 -0500)
committerJason Blevins <jrblevin@sdf.org>
Sun, 20 Nov 2011 19:20:12 +0000 (20 14:20 -0500)
tree871cde1881d9a8821df4d16f42d1668658745894
parent5882f91729d6db03e6c3418bff63ce278e629eaa
Support both forms of aliased wiki links

Introduce a new boolean custom variable, markdown-wiki-link-alias-first.
When set to a non-nil value, markdown-mode will treat aliased wiki links
like [[link text|PageName]].  When set to nil, they will be treated as
[[PageName|link text]].

Note that the default behavior has been changed!  The default behavior
now agrees with GitHub and other wikis which place the link text first.
To reinstate the previous behavior, which agreed with Instiki's behavior,
the new custom variable must be set to nil.
markdown-mode.el