picocms / Pico

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

Converting quotation marks to a <q> element #463

Closed anasram closed 5 years ago

anasram commented 5 years ago

Just like when markdown language converts `foo` to <code>foo</code>, I propose to convert "foo" to <q>foo</q>.

PhrozenByte commented 5 years ago

Pico uses Parsedown as Markdown parser, so to put a long story short: Regarding Markdown, Pico does, what Parsedown does. Due to very limited time, we don't plan to create our own Markdown parser.

Anyway, customization is one of Pico's main advantages. You can use Pico's onParsedownRegistered event to hook into Parsedown's processing. See Parsedown's wiki for more info about how to create a Parsedown extension and how to add your own syntax rules to Parsedown.

anasram commented 5 years ago

I just submitted it here: https://github.com/erusev/parsedown/issues/684