diff options
author | http://weakish.int.eu.org/ <http://weakish.int.eu.org/@web> | 2009-02-12 03:31:02 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-02-12 03:31:02 -0500 |
commit | a7e119767ce0b042075fd8955599e30df13e290b (patch) | |
tree | 7097699dd9b0547f5e990444260e7a5a71ca0718 /doc | |
parent | 5e2e95a516e7f967654108bbc4d8e9ab71a6820f (diff) |
use shortcut with mdwn disabled
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/shortcut/discussion.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn new file mode 100644 index 000000000..d11639856 --- /dev/null +++ b/doc/plugins/shortcut/discussion.mdwn @@ -0,0 +1,16 @@ +The plugin somehow 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). + +Then edit the following lines in[[shortcut]] plugin source: + + my $srcfile=srcfile("shortcuts.mdwn", 1); + +and + + error(gettext("shortcut plugin will not work without a shortcuts.mdwn")); + + +(It is better to edit a local copy of shortcut.pm in, say, ~/.ikiwiki/IkiWiki/Plugin +and add ~/.ikiwiki to libdir in your ikiwiki.setup then edit the shortcut.pm installed +in system directly.) |