From: joey Date: Mon, 20 Nov 2006 06:45:35 +0000 (+0000) Subject: web commit by JoshTriplett: Reword. X-Git-Tag: 1.34~127 X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=f1e5ad61acdbd3369b08af6159bb9153793225bb web commit by JoshTriplett: Reword. --- diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn new file mode 100644 index 000000000..cb80c4d40 --- /dev/null +++ b/doc/shortcuts.mdwn @@ -0,0 +1,9 @@ +This page controls what shortcut links the wiki supports. + +* [[shortcut name=google url="http://www.google.com/search?q=%s"]] +* [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]] +* [[shortcut name=debbug url="http://bugs.debian.org/%s"]] +* [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] + +To add a new shortcut, use the "shortcut" preprocessor directive. "%s" in +the url becomes the text passed to the named shortcut.