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.


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

Is transformed to:

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

The code can be found on github.