summaryrefslogtreecommitdiff
path: root/basewiki/preprocessordirective.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'basewiki/preprocessordirective.mdwn')
-rw-r--r--basewiki/preprocessordirective.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/basewiki/preprocessordirective.mdwn b/basewiki/preprocessordirective.mdwn
new file mode 100644
index 000000000..a7d1be8c8
--- /dev/null
+++ b/basewiki/preprocessordirective.mdwn
@@ -0,0 +1,11 @@
+Preprocessor directives are similar to a [[WikiLink]] in form, except they
+contain spaces and parameters. The general form is:
+
+\\[[directive param="value" param="value"]]
+
+This gets expanded before the rest of the page is processed, and can be used
+to transform the page in various ways.
+
+Currently, these preprocessor directives are available:
+
+* "inline" to make a [[blog]]