use shortcut with mdwn disabled
authorhttp://weakish.int.eu.org/ <http://weakish.int.eu.org/@web>
Thu, 12 Feb 2009 08:31:02 +0000 (03:31 -0500)
committerJoey Hess <joey@kitenet.net>
Thu, 12 Feb 2009 08:31:02 +0000 (03:31 -0500)
doc/plugins/shortcut/discussion.mdwn [new file with mode: 0644]

diff --git a/doc/plugins/shortcut/discussion.mdwn b/doc/plugins/shortcut/discussion.mdwn
new file mode 100644 (file)
index 0000000..d116398
--- /dev/null
@@ -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.)