django-misaka

A Django template tag for rendering Markdown (by Misaka Markdown parser).


Keywords
django, hoedown, markdown, misaka
License
MIT
Install
pip install django-misaka==0.2.1

Documentation

Django-Misaka

Continuous Integration Code Coverage Latest Version Supported Python versions License

Now this app provide template filter and tag, Misaka API is not yet available.

Installation

  1. Install from PyPI::

    pip install django-misaka
  2. Add django_misaka to your INSTALLED_APPS::

    INSTALLED_APPS = (
        ...
        'django_misaka',
    )

Usage

In your template

  • Template filter
    {% load markdown %}
    ...
    {{ text|markdown|safe }}
  • Template tag
    {% load markdown %}
    ...
    {% markdown %}
        ...
    {% endmarkdown %}

Changelog

See CHANGELOG for more details.