Django Markdowny

PyPI version Build status Documentation status

Django Markdowny is a Django template tag application to convert Markdown into HTML with Python-Markdown.

Unlike other Django-Markdown filters, Markdowny supports all of the options 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.

{{ 'Hello, world!'|markdowny }}

Result:

<p>Hello, world!</p>

Contents

Indices and tables