aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/shortcut_with_different_link_text.mdwn
diff options
context:
space:
mode:
authorAdeodato Simó <dato@net.com.org.es>2008-03-02 17:29:02 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-03-02 18:04:09 -0500
commita8f08ab8e18877dd023430fc8926530244c74771 (patch)
tree86a5fd67b7d047a43d94c4781d47e5d3802957ab /doc/todo/shortcut_with_different_link_text.mdwn
parentbdb57e58334afb9ac1fab45f9f9653da4e5af98f (diff)
downloadikiwiki-a8f08ab8e18877dd023430fc8926530244c74771.tar
ikiwiki-a8f08ab8e18877dd023430fc8926530244c74771.tar.gz
Make directives generated by shortcuts accept a `desc` parameter.
(cherry picked from commit 252da396bfa728b99af7c9bb304a7b5f3f6d94e6)
Diffstat (limited to 'doc/todo/shortcut_with_different_link_text.mdwn')
-rw-r--r--doc/todo/shortcut_with_different_link_text.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/todo/shortcut_with_different_link_text.mdwn b/doc/todo/shortcut_with_different_link_text.mdwn
index 07e999642..93f9651a4 100644
--- a/doc/todo/shortcut_with_different_link_text.mdwn
+++ b/doc/todo/shortcut_with_different_link_text.mdwn
@@ -57,5 +57,11 @@ So that the 'l' plugin inserts the location the page there, and markdown does th
For external links, that is no concern, however. So you could define for each shortcut an alternative directive, that inserts the URL. Perhaps `\[[url shortcutname params]]` or `\[[@shortcutname params]]` (if the preprocessor supported the @), and this could be extended to local links in an obvious manner: `\[[url page]]` or `\[[@page]]`. Now, if you could just get rid off the parantheses for markdown, for the short inline links --[[tuomov]] (who'd really rather not have two separate linking mechanisms: ikiwiki's heavy syntax and markdown's lighter one).
+---
+
+I've added code to make the \[[foo 123]] syntax accept a _desc_
+parameter. I've named it like this to signal that it overrides the
+_desc_ provided at description time. `%s` is expanded here as well.
+[[todo/done]] -- Adeodato Simó