aboutsummaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 03:25:40 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 03:25:40 +0000
commit78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 (patch)
tree10b1cbd54390a65553eca39aa8e88f6c181dfad0 /basewiki
parent63c79e7f5b87003cd02158b4d9f723b4c054cacf (diff)
downloadikiwiki-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')
-rw-r--r--basewiki/preprocessordirective.mdwn13
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
+ "]]