diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-23 03:25:40 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-23 03:25:40 +0000 |
commit | 78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 (patch) | |
tree | 10b1cbd54390a65553eca39aa8e88f6c181dfad0 /basewiki/preprocessordirective.mdwn | |
parent | 63c79e7f5b87003cd02158b4d9f723b4c054cacf (diff) | |
download | ikiwiki-78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5.tar ikiwiki-78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5.tar.gz |
* Allow preprocessor directives to span multiple lines, both to make
long ones with lots of values easier to write, and to allow for ones with
multi-line quoted values.
Diffstat (limited to 'basewiki/preprocessordirective.mdwn')
-rw-r--r-- | basewiki/preprocessordirective.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/basewiki/preprocessordirective.mdwn b/basewiki/preprocessordirective.mdwn index 2d84cfb97..31731af66 100644 --- a/basewiki/preprocessordirective.mdwn +++ b/basewiki/preprocessordirective.mdwn @@ -15,3 +15,16 @@ Note that if a preprocessor directive has no parameters, a space still must be put after its name, to avoid confusion with a [[WikiLink]]. For example: \[[pagecount ]] + +A preprocessor directive does not need to all be on one line. Also, +multiple lines of *quoted* text can be used for a value. Examples: + + \[[directive foo="baldersnatch" + bar="supercalifragalisticexpealadocious" baz=11]] + + \[[directive text=" + 1. foo + 2. bar + 3. baz + more lines + "]] |