For your users to have a degree over styling and semantic power you need some form of rich text. In certain parts of our project site we allow user Markdown input. Up till now that input was parsed using a Django Markdown filter. But since the filter is deprecated it is time for a change (well it has been for a while now).

We created a simple filter, django-markdownify, that transforms Markdown to HTML.

Basic Markdown filter

Usage is really simple.

For example, the template:

{{'Some *test* [link](#)'|markdownify|safe }}

is transformed to:

<p>
  Some <em>test</em> <a href="" rel="nofollow">link</a>
</p>

If you are in a situation where you want to compile Markdown to HTML we suggest you give it a shot: django-markdownify. And please don't hesitate to improve or give us feedback. Note, the project has been handed over to another development.