improve wording and fix an example that is intentionall un-prefixed
parent
c041e97c29
commit
973ea50190
|
@ -30,10 +30,9 @@ of text with triple-quotes:
|
||||||
ikiwiki also has an older syntax for preprocessor directives, which requires a
|
ikiwiki also has an older syntax for preprocessor directives, which requires a
|
||||||
space in directives to distinguish them from [[wikilinks|wikilink]]. This
|
space in directives to distinguish them from [[wikilinks|wikilink]]. This
|
||||||
syntax has several disadvantages: it requires a space after directives with no
|
syntax has several disadvantages: it requires a space after directives with no
|
||||||
parameters (such as `\[[!pagecount ]]`), and it prohibits spaces in
|
parameters (such as `\[[pagecount ]]`), and it prohibits spaces in
|
||||||
[[wikilinks|wikilink]]. ikiwiki now provides the `!`-prefixed syntax shown
|
[[wikilinks|wikilink]]. ikiwiki now provides the `!`-prefixed syntax shown
|
||||||
above as the preferred alternative. However, ikiwiki still supports wikis
|
above as the preferred alternative. However, ikiwiki still supports wikis
|
||||||
using the older syntax, if their setup files disable the `prefix_directives`
|
using the older syntax, if the `prefix_directives` option is not enabled.
|
||||||
option. For backward compatibility with existing wikis, this option currently
|
For backward compatibility with existing wikis, this option currently
|
||||||
defaults to off, so ikiwiki uses the old directive syntax; however, future
|
defaults to off, so ikiwiki supports the old syntax.
|
||||||
versions of ikiwiki will turn this on by default.
|
|
||||||
|
|
Loading…
Reference in New Issue