X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d16db931ff236fca639e5907e9cc86baa7bf492e..453e07fd9ffec6fe6a9fd9d7c802c48477dadb25:/doc/plugins/typography.mdwn diff --git a/doc/plugins/typography.mdwn b/doc/plugins/typography.mdwn index ab737808a..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.