diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-21 13:48:09 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-21 13:48:09 +0000 |
commit | b9690f3182d15ca7aa4bc295a768387fd9b92408 (patch) | |
tree | c1eeccebb6992ff1bd9a3226acca86b5d68f55bd /doc/shortcuts.mdwn | |
parent | 9d63be9af97a8105b1d11b5f2dd0db22bae27c58 (diff) | |
download | ikiwiki-b9690f3182d15ca7aa4bc295a768387fd9b92408.tar ikiwiki-b9690f3182d15ca7aa4bc295a768387fd9b92408.tar.gz |
web commit by JoshTriplett: Add "debpkg" shortcut, for packages via packages.debian.org.
Diffstat (limited to 'doc/shortcuts.mdwn')
-rw-r--r-- | doc/shortcuts.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn new file mode 100644 index 000000000..6e53a0371 --- /dev/null +++ b/doc/shortcuts.mdwn @@ -0,0 +1,11 @@ +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" desc="bug #%s"]] +* [[shortcut name=debpkg url="http://packages.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" is +replaced with the text passed to the named shortcut. The optional desc +parameter controls the description of the link. |