]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive.mdwn
update
[ikiwiki.git] / doc / ikiwiki / directive.mdwn
index 9a01aaa825e22e3f41177b36adf75ae3b7be92ee..dafbd7271b8926ca0d4a8f469421107424e0a8b0 100644 (file)
@@ -16,7 +16,7 @@ A directive does not need to all be on one line, it can be
 wrapped to multiple lines if you like:
        
        \[[!directive foo="baldersnatch"
-       bar="supercalifragalisticexpealadocious" baz=11]]
+       bar="supercalifragilisticexpialidocious" baz=11]]
 
 Also, multiple lines of *quoted* text can be used for a value.
 To allow quote marks inside the quoted text, delimit the block
@@ -37,3 +37,9 @@ above as the preferred alternative.  However, ikiwiki still supports wikis
 using the older syntax, if the `prefix_directives` option is not enabled.
 For backward compatibility with existing wikis, this option currently
 defaults to off, so ikiwiki supports the old syntax.
+
+[[!if test="enabled(listdirectives)" then="""
+Here is a list of currently available directives in this wiki:
+
+[[!listdirectives ]]
+"""]]