X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/3cb1c8fa3b1fac58f8a84deef9b72b334c17c97a..5fa5b137fd61159bfc6e5dd36395fb9e04462434:/doc/ikiwiki/directive.mdwn diff --git a/doc/ikiwiki/directive.mdwn b/doc/ikiwiki/directive.mdwn index 9a01aaa82..dafbd7271 100644 --- a/doc/ikiwiki/directive.mdwn +++ b/doc/ikiwiki/directive.mdwn @@ -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 ]] +"""]]