Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sjelfull/craft-smartypants

Use SmartyPants in Craft.
https://github.com/sjelfull/craft-smartypants

craftcms craftcms-plugin

Last synced: 2 months ago
JSON representation

Use SmartyPants in Craft.

Awesome Lists containing this project

README

        

## SmartyPants for Craft

Use [PHP SmartyPants](https://github.com/michelf/php-smartypants) to apply a handful of nice typography rules to text.

## Usage

```twig
{% 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 %}

SmartyPants

{{ text | smartypants }}

SmartyPants Typographer

{{ text | smartyTypographer }}


```