]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/shortcut_with_different_link_text.mdwn
Migrate doc/todo via prefix_directives
[ikiwiki.git] / doc / todo / shortcut_with_different_link_text.mdwn
index 93f9651a4b75866c5e40317e2a7aca2684cc7520..8041732ae9f4f6c505013f1ab9e8d2b0ff3f3293 100644 (file)
@@ -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.