X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/35c90a5b582f0d40a122b151580e313c2b157b6f..85aff81cfe50f677ca0e1c307bd55c336ea73288:/doc/plugins/polygen.mdwn diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn index cc88f499f..09195e694 100644 --- a/doc/plugins/polygen.mdwn +++ b/doc/plugins/polygen.mdwn @@ -1,26 +1,29 @@ +[[!template id=plugin name=polygen author="Enrico Zini"]] +[[!tag type/fun]] + This plugin allows inserting text generated by polygen into a wiki page. For example: - \[[polygen grammar="genius"]] + \[[!polygen grammar="genius"]] It's also possible to specify a starting nonterminal for the grammar by including `symbol="text"` in the directive. -This plugin is included in ikiwiki, but not enabled by default. - -If this plugin is enabled, and polygen is installed, here are a few notes -about ikiwiki. - +[[!if test="enabled(polygen)" then=""" ---- -Ikiwiki is internally based on a [[polygen grammar="designpatterns"]] -coupled to a [[polygen grammar="designpatterns"]], as described in -"[[polygen grammar="paper2"]]" by [[polygen grammar="nipponame"]] of -[[polygen grammar="boyband"]]. +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: + +"""]]