Smartypants

Use PHP SmartyPants to apply a handful of nice typography rules to text.

SmartyPants for Craft #

Use PHP SmartyPants to apply a handful of nice typography rules to text.

Usage #

{% set text %}
 << I can't believe three years have already passed since Kirby's first release on January 9, 2012. A lot happened in the meantime and I can't thank you enough for your constant support and feedback throughout those three years. It means the world to me that my little software baby is still growing strong with your help. There's more to come - a lot more --- and I can't wait to share it with you ... >>
{% endset %}

<h2>SmartyPants</h2>

<p>{{ text | smartypants }}</p>

<h2>SmartyPants Typographer</h2>

<p>{{ text | smartyTypographer }}</p>

Releases

1.0.0 — 2015-03-11
  • Added: Initial release

Currently available for Craft consulting and custom plugin development

Contact me