]> sipb.mit.edu Git - ikiwiki.git/commitdiff
about default-role
authorUlrik Sverdrup <ulrik.sverdrup@gmail.com>
Fri, 18 Sep 2009 18:07:18 +0000 (20:07 +0200)
committerUlrik Sverdrup <ulrik.sverdrup@gmail.com>
Fri, 18 Sep 2009 18:07:18 +0000 (20:07 +0200)
doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn

index 49be3f30a3a2fda89798d13dc4910522e5e91cd4..ba9440b434c5e1360ad0ef96a9a42924323c74ab 100644 (file)
@@ -23,9 +23,16 @@ tie together wiki of rst documents.
    **Proposal 2**.
 
         This is a simple wiki page, with :wiki:`WikiLinks` and other_ links
    **Proposal 2**.
 
         This is a simple wiki page, with :wiki:`WikiLinks` and other_ links
-       
+        
         .. _other: wiki:wikilink
 
         .. _other: wiki:wikilink
 
+        We can get rid of the role part as well for WikiLinks::
+        
+            .. default-role:: wiki
+        
+        Enables `WikiLinks` but does not impact references such as ``other``
+        This can be made the default for ikiwiki.
+
 Benefits of using a `:role:` and a `wiki: page/subpage` URL scheme are
 following:
 
 Benefits of using a `:role:` and a `wiki: page/subpage` URL scheme are
 following: