aboutsummaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
Diffstat (limited to 'basewiki')
-rw-r--r--basewiki/blog.mdwn8
-rw-r--r--basewiki/helponformatting.mdwn5
-rw-r--r--basewiki/postprocessordirective.mdwn11
3 files changed, 24 insertions, 0 deletions
diff --git a/basewiki/blog.mdwn b/basewiki/blog.mdwn
new file mode 100644
index 000000000..d300736a8
--- /dev/null
+++ b/basewiki/blog.mdwn
@@ -0,0 +1,8 @@
+You can turn any page on this wiki into a weblog by inserting a
+[[PostProcessorDirective]]. Like this:
+
+\\[[inline pages="blog/*" show="10"]]
+
+Any pages that match the specified [[GlobList]] (in the exaple, any
+[[SubPages]] of "blog") will be part of the blog, and the newest 10
+of them will appear in the page.
diff --git a/basewiki/helponformatting.mdwn b/basewiki/helponformatting.mdwn
index 545148e86..4ef41d16f 100644
--- a/basewiki/helponformatting.mdwn
+++ b/basewiki/helponformatting.mdwn
@@ -51,4 +51,9 @@ To link to any other web page, or to an email address, you can just put the url
----
+Advanced users can use [[PostProcessorDirective]]s to do additional cool
+stuff.
+
+----
+
This style of text formatting is called [[MarkDown]].
diff --git a/basewiki/postprocessordirective.mdwn b/basewiki/postprocessordirective.mdwn
new file mode 100644
index 000000000..fa8432e3f
--- /dev/null
+++ b/basewiki/postprocessordirective.mdwn
@@ -0,0 +1,11 @@
+Postprocessor 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 after the rest of the page is processed, and can be used
+to transform the page in various ways.
+
+Currently, these postprocessor directives are available:
+
+* "inline" to make a [[blog]]