X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/19c58ac7c139eb3509f190e9ce746bd9f6237c90..c18b85451625ff5b7ba8940c43f6703cc3b795d3:/doc/plugins/typography.mdwn?ds=sidebyside diff --git a/doc/plugins/typography.mdwn b/doc/plugins/typography.mdwn index 2e65393a7..4b274d1f4 100644 --- a/doc/plugins/typography.mdwn +++ b/doc/plugins/typography.mdwn @@ -1,8 +1,14 @@ -[[template id=plugin name=typography 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.