]> sipb.mit.edu Git - ikiwiki.git/blob - basewiki/preprocessordirective.mdwn
releasing version 1.2
[ikiwiki.git] / basewiki / preprocessordirective.mdwn
1 Preprocessor directives are similar to a [[WikiLink]] in form, except they
2 contain spaces and parameters. The general form is:
3
4 \\[[directive param="value" param="value"]]
5
6 This gets expanded before the rest of the page is processed, and can be used
7 to transform the page in various ways.
8
9 Note that if a preprocessor directive has no parameters, a space still must
10 be put after its name, to avoid confusion with a [[WikiLink]]. For example:
11
12 \\[[pagecount ]]