X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7f1313c0525570bdd8c660f436bf95ef764fad45..3a04e96389def78bcb873a4487b85f4d75653199:/doc/plugins/htmltidy.mdwn?ds=sidebyside diff --git a/doc/plugins/htmltidy.mdwn b/doc/plugins/htmltidy.mdwn index dd429c85c..580e56f59 100644 --- a/doc/plugins/htmltidy.mdwn +++ b/doc/plugins/htmltidy.mdwn @@ -1,7 +1,11 @@ +[[!template id=plugin name=htmltidy author="Faidon Liambotis"]] +[[!tag type/html]] +[[!tag type/slow]] + This plugin uses [tidy](http://tidy.sourceforge.net/) to tidy up the html emitted by ikiwiki. Besides being nicely formatted, this helps ensure that -even if users enter suboptimal html, your wiki generates 100% valid html. - -This plugin is included in ikiwiki, but is not enabled by default. +even if users enter suboptimal html, your wiki generates valid html. -[[tag plugins/type/html]] +Note that since tidy is an external program, that is run each time a page +is built, this plugin will slow ikiwiki down somewhat. [[plugins/htmlbalance]] +might provide a faster alternative.