February 11, 2006
John Gruber’s SmartyPants plugin
easily translates plain ASCII punctuation characters into “smart” typographic punctuation HTML entities. However, the perl-based plugin can only be used in statically genrated templates.
The DynamicSmartyPants plugin provides the same functionality in dynamically generated templates. this plugin uses Michel Fortin’s PHP SmartyPants
If you want to use SmartyPants in both static and dynamic templates, you’ll need to instal this plugin in addition to the original SmartyPants plugin
Returns the version of the PHP SmartyPants library used by this plugin.
Filter that converts dashes (“—” and “—-“) into en- and em-dash entities
Filter that converts three consecutive dots (“…”) into an ellipsis entity
Filter that converts straight quotes ( ” and ‘) into “curly” quote HTML entities
Filter that combines the above filters
For additional documentation, see the original SmartyPants plugin