Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (24 sloc) 879 Bytes
.. toctree::
   :maxdepth: 1
   :caption: Table of contents
   :name: maintoc

   Introduction <self>
   Installation and usage <install_and_usage>
   Settings <settings>
   Tests <tests>

Django Markdownify - A Django Markdown filter

Django Markdownify is a template filter to convert Markdown to HTML in Django. Markdown is converted to HTML and sanitized.

Example:

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

Is transformed to:

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

The code can be found on github.