summaryrefslogtreecommitdiff
path: root/doc/shortcuts.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-20 06:45:35 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-20 06:45:35 +0000
commitf1e5ad61acdbd3369b08af6159bb9153793225bb (patch)
tree6412df067f0e9909a02d696a220be530bb2d2ad5 /doc/shortcuts.mdwn
parentb236b1a4ff9afb9c09bb9cfa752ec610257b07f7 (diff)
web commit by JoshTriplett: Reword.
Diffstat (limited to 'doc/shortcuts.mdwn')
-rw-r--r--doc/shortcuts.mdwn9
1 files changed, 9 insertions, 0 deletions
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.