X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/035a57f209e02c954a0edf798bbc4879a6311a3f..25447bccae0439ea56da7a788482a4807c7c459d:/doc/plugins/shortcut/discussion.mdwn?ds=inline diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn index 0ecf29537..2e2b1b281 100644 --- a/doc/plugins/shortcut/discussion.mdwn +++ b/doc/plugins/shortcut/discussion.mdwn @@ -1,16 +1,18 @@ -I'd like to use a shortcut like \[[gnumach-1-branch ddb/db_expr.h]] to link to -. +The plugin depends on [[mdwn]]. If you have +disabled [[mdwn]], to get [[shortcut]] work, you need +commit in a shortcuts.ext (ext is `rcs|creole|html|txt|etc`), +and edit/patch [[shortcut]]. -* Dashes are not allowed in shortcut identifiers. Why? +Maybe use the `default_pageext` is better than hardcode .mdwn? -* The URL is rewritten to - , - which the remove server doesn't like. Mind the esacping of [^A-Za-z0-9]. - Might this be a problem of the web server? +--[[weakish]] -Also, I'd like to put the shortcut usages into backticks --- `[[iki shortcuts]]` -- -to have them displayed in the usual backtick-formatting. -That also doesn't work, but this is an already-reported issue, as far as I know. +> done, it will use `default_pageext` now --[[Joey]] ---[[tschwinge]] +--- + +Instead of modifying the [[basewiki]]'s [[shortcuts]] file for local needs -- +thus copying it at some point and losing continuity with upstream enhancements -- +what about handling a `shortcuts-local.mdwn` or `shortcuts/local.mdwn` (if such +a file exists in the wiki), and additionally process that one. Possibily a +conditional `\[[!inline]]` could be used. --[[tschwinge]]