X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/435e06bce1fb8efe209ca0a7edf2c9f4d40db478..e112b8f385992ec4b3056d397802abe092547bb5:/doc/plugins/typography.mdwn?ds=sidebyside diff --git a/doc/plugins/typography.mdwn b/doc/plugins/typography.mdwn index b03c2a086..4b274d1f4 100644 --- a/doc/plugins/typography.mdwn +++ b/doc/plugins/typography.mdwn @@ -1,12 +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`. See the documentation for -[[cpan Text::Typography]] for available attributes. +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.