torchbox / wagtail-markdown

Markdown support for Wagtail
zlib License
198 stars 66 forks source link

Make markdown extensions configurable with Django settings #69

Closed danihodovic closed 4 years ago

danihodovic commented 4 years ago

@zerolab looks better now?

StefanUlbrich commented 4 years ago

One neat addition were to add custom filters. In the case of formulas, some extensions add a <script type="math/tex"> field which gets sanitized. I experimented writing such a filter (see utils.py in this branch of my fork) which works well

danihodovic commented 4 years ago

@zerolab could you have a look at this again?

adinhodovic commented 4 years ago

Can we merge this @zerolab ? Would be great with a dependency bump too.

zerolab commented 4 years ago

Thank you for the nudge @adinhodovic, LGTM and merged