]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - basewiki/preprocessordirective.mdwn
Convert postprocessordirectives into preprocessordirectives, so they are
[www/ikiwiki.git] / basewiki / preprocessordirective.mdwn
diff --git a/basewiki/preprocessordirective.mdwn b/basewiki/preprocessordirective.mdwn
new file mode 100644 (file)
index 0000000..a7d1be8
--- /dev/null
@@ -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]]