aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://weakish.int.eu.org/ <http://weakish.int.eu.org/@web>2009-02-12 03:31:02 -0500
committerJoey Hess <joey@kitenet.net>2009-02-12 03:31:02 -0500
commita7e119767ce0b042075fd8955599e30df13e290b (patch)
tree7097699dd9b0547f5e990444260e7a5a71ca0718
parent5e2e95a516e7f967654108bbc4d8e9ab71a6820f (diff)
downloadikiwiki-a7e119767ce0b042075fd8955599e30df13e290b.tar
ikiwiki-a7e119767ce0b042075fd8955599e30df13e290b.tar.gz
use shortcut with mdwn disabled
-rw-r--r--doc/plugins/shortcut/discussion.mdwn16
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.)