CouscousPHP / Couscous

Couscous is good.
https://couscous.io
Other
840 stars 104 forks source link

Replace Parsedown Extra (Markdown Extra) with CommonMark #156

Open mnapoli opened 8 years ago

mnapoli commented 8 years ago

Couscous supports Markdown Extra. To achieve that, the parser used is Parsedown Extra.

However we might want to switch to using the League/CommonMark parser because:

That would make it easier to add features such as #39, #65, #69, #155, etc.

Problem: in order to preserve BC we need Markdown Extra's features to be supported by Couscous:

IMO we could get rid of definition lists, footnotes and abbreviations. I am not against adding support later if someone writes an extension for that, but I don't think they are crucial features.

That could be considered a BC break though given all the small differences. I'm not against releasing it as Couscous 2.0, thoughts? We could ship it with many features implemented thanks to that.

mnapoli commented 8 years ago

I have added tests for the features described above in #157.

wysow commented 8 years ago

Sounds great to release this as version 2.0 for me, Definition Lists, Footnotes and Abbreviations could definitely be implemented later as you said...