django-markdowny

A Django template tag to convert Markdown into HTML


License
BSD-3-Clause
Install
pip install django-markdowny==0.2.4

Documentation

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>