picocms / Pico

Pico is a stupidly simple, blazing fast, flat file CMS.
http://picocms.org/
MIT License
3.83k stars 614 forks source link

Enhancement request: include Smartypants option #542

Closed dajare closed 4 years ago

dajare commented 4 years ago

It would add to the refinement of Pico to have content passed through a typography filter. The standard accompaniment to Markdown is Smartypants, but there is also PHP SmartyPants.

I enquired about this on the Parsedown repo issue list, and got a quick response that is hopeful. I'm not sufficiently familiar with Pico's architecture to know where such an additional filter should be placed.

This is probably a fairly easy enhancement ... if you know what you're doing! 😉 I don't. 🤷‍♂️ Any thoughts from the Pico devs? Thanks!

PhrozenByte commented 4 years ago

You might wanna create a plugin to hook into Pico's onContentLoaded, onContentPrepared or onContentParsed events.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1: