From dd87d82fbe2bf09abe634caef044474d5b24502e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 Jul 2008 12:31:33 +0100 Subject: 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 --- doc/todo/shortcut_with_different_link_text.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/todo/shortcut_with_different_link_text.mdwn') 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. -- cgit v1.2.3