]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/polygen.mdwn
formatting
[ikiwiki.git] / doc / plugins / polygen.mdwn
index 8d6794073ae9063d4c2f759466c722e331decf19..f9cea1f4dce7a9d325bd6a5e8e7344ddd008ac34 100644 (file)
@@ -1,29 +1,25 @@
-[[template id=plugin name=polygen author="Enrico Zini"]]
-[[tag type/fun]]
+[[!template id=plugin name=polygen author="Enrico Zini"]]
+[[!tag type/fun]]
+[[!tag type/widget]]
 
-This plugin allows inserting text generated by polygen into a wiki page.
-For example:
+This plugin provides the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]],
+which allows inserting text generated by polygen into a wiki page.
 
-       \[[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="""
+[[!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 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>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
+<li>[[!polygen grammar="reviews"]]</li>
 </ul>
 
 """]]