aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/typography.mdwn
blob: 4b274d1f41d731d394ab559f5e558bdddf843309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!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
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.