plone / Products.PortalTransforms

Provides MIME types based transformation chains on Plone Archetypes contents
4 stars 15 forks source link

Add markdown plugins #17

Open espenmn opened 7 years ago

espenmn commented 7 years ago

The markdown transform just loads one plugin: fenced code.

I tested some others and they all worked .markdown(orig, extensions=['markdown.extensions.fenced_code', 'tables', 'extra', 'etcetc' ])

Is there a reason for not enabling all of them.

pabo3000 commented 7 years ago

Especially the lack of nl2br is an annoyance. It should be configurable at least in the ZMI. I did it, but in an existing portal you have to delete and add again the transform markdown_to_html.

https://github.com/plone/Products.PortalTransforms/pull/18