X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/1c34db6a9a5c4562b4cfa44328520a901828d5e7..ea7a02be99b4f1f3429792ceb8685eae42ccc901:/doc/plugins/typography.mdwn 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.