summaryrefslogtreecommitdiff
path: root/underlays/basewiki/directive/polygen.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'underlays/basewiki/directive/polygen.mdwn')
-rw-r--r--underlays/basewiki/directive/polygen.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/underlays/basewiki/directive/polygen.mdwn b/underlays/basewiki/directive/polygen.mdwn
new file mode 100644
index 000000000..72b031235
--- /dev/null
+++ b/underlays/basewiki/directive/polygen.mdwn
@@ -0,0 +1,28 @@
+The `polygen` directive is supplied by the [[!iki plugins/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.
+
+[[!if test="enabled(polygen)" then="""
+----
+
+Here are a few notes about ikiwiki, courtesy of polygen:
+
+Ikiwiki is internally based on a [[!polygen grammar="designpatterns"]]
+coupled to a [[!polygen grammar="designpatterns"]], as described in
+"[[!polygen grammar="paper"]]" by [[!polygen grammar="nipponame"]] of
+[[!polygen grammar="boyband"]].
+
+Ikiwiki reviews:
+<ul>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
+</ul>
+
+"""]]