summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/polygen.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-14 13:38:20 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-14 13:38:20 +0200
commitce0037e0ff41a75d0e6c947ef547ef9630c54be9 (patch)
tree829062b1e1922c423aa31be44a4896a5944e5c07 /ikiwiki/directive/polygen.mdwn
Sync with ikiwiki 3.20100926.HEADmasterikiwiki
Diffstat (limited to 'ikiwiki/directive/polygen.mdwn')
-rw-r--r--ikiwiki/directive/polygen.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/ikiwiki/directive/polygen.mdwn b/ikiwiki/directive/polygen.mdwn
new file mode 100644
index 0000000..e0734ec
--- /dev/null
+++ b/ikiwiki/directive/polygen.mdwn
@@ -0,0 +1,12 @@
+The `polygen` directive is supplied by the [[!iki plugins/polygen
+desc=polygen]] plugin.
+
+This directive allows inserting text generated by polygen into a wiki page.
+For example:
+
+ \[[!polygen grammar="genius"]]
+
+It's also possible to specify a starting nonterminal for the grammar by
+including `symbol="text"` in the directive.
+
+[[!meta robots="noindex, follow"]]