Django Markdowny

PyPI version Build status

Django Markdowny is a Django template tag application to convert Markdown to HTML.

Unlike other Django/Markdown filters, markdowny supports all of the options available in Python Markdown via Settings.

Install

$ pip install django-markdowny

Add to settings.py.

INSTALLED_APPS = [
    # ...
    'markdowny',
]

Usage

Use as a template tag.

{% load markdowny_tags %}

{% markdowny %}Hello, world!{% endmarkdowny %}

Or as a template filter.

{{ post.body|markdowny }}

Result:

<p>Hello, world!</p>

Indices and tables