X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8b49304c6721c6c9dad854f5f2793c2116d5da7b..c7bdebaaf134729356852918b387071c92f85e72:/doc/plugins/typography.mdwn?ds=sidebyside diff --git a/doc/plugins/typography.mdwn b/doc/plugins/typography.mdwn index 6d7022f12..4b274d1f4 100644 --- a/doc/plugins/typography.mdwn +++ b/doc/plugins/typography.mdwn @@ -1,8 +1,14 @@ -[[template id=plugin name=typography included=1 author="[[Roktas]]"]] -[[tag type/format]] +[[!template id=plugin name=typography author="[[Roktas]]"]] +[[!tag type/chrome]] This plugin, also known as [SmartyPants](http://daringfireball.net/projects/smartypants/), translates plain ASCII punctuation characters into ``smart'' typographic punctuation HTML -entities. To use it, you need to have the [[cpan Text::Typography]] module +entities. To use it, you need to have the [[!cpan Text::Typography]] module installed. + +This plugin has a configuration option. To change the attributes, set +`--typographyattributes=whatever`. Alternatively, set +`typograph_attributes: whatever` in your config file. The default is +`3`. See the documentation for [[!cpan Text::Typography]] for available +attributes.