summaryrefslogtreecommitdiff
path: root/doc/todo/shortcut_with_different_link_text.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:31:33 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:31:33 +0100
commitdd87d82fbe2bf09abe634caef044474d5b24502e (patch)
tree597be2bf23e994b028b611e946f267cfe9407ab9 /doc/todo/shortcut_with_different_link_text.mdwn
parent9c02d61d9bbc41705a5e32543b51261fad891095 (diff)
Migrate doc/todo via prefix_directives
This is a partial commit of: egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition prefix_directives
Diffstat (limited to 'doc/todo/shortcut_with_different_link_text.mdwn')
-rw-r--r--doc/todo/shortcut_with_different_link_text.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/todo/shortcut_with_different_link_text.mdwn b/doc/todo/shortcut_with_different_link_text.mdwn
index 93f9651a4..8041732ae 100644
--- a/doc/todo/shortcut_with_different_link_text.mdwn
+++ b/doc/todo/shortcut_with_different_link_text.mdwn
@@ -49,9 +49,9 @@ specifying the actual target elsewhere from the text, with just a short referenc
Here [is][1] a link.
- [1]: [[l a_page_in_the_wiki]]
+ [1]: [[!l a_page_in_the_wiki]]
- Obviously [this]([[l another_page]]) also works, although the syntax is quite cumbersome.
+ Obviously [this]([[!l another_page]]) also works, although the syntax is quite cumbersome.
So that the 'l' plugin inserts the location the page there, and markdown does the rest. My plugin currently fails if it can't find the page, as that is sufficient for my needs. Differing colouring for non-existing pages is not doable in a straightforward manner with this approach.