web commit by JoshTriplett: Reword.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 20 Nov 2006 06:45:35 +0000 (06:45 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 20 Nov 2006 06:45:35 +0000 (06:45 +0000)
doc/shortcuts.mdwn [new file with mode: 0644]

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