A Django app for rendering Markdown (by Misaka Markdown parser).
Python HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
django_misaka Add testing Mar 8, 2015
tests Add testing Mar 8, 2015
.gitignore Add tox.ini Mar 8, 2015
.travis.yml Add .travis.yml Mar 8, 2015
LICENSE Initial commit Mar 8, 2015
MANIFEST.in Add MANIFEST.in Mar 9, 2015
README.rst Add Travis CI, Coveralls and PyPI badges to README Mar 9, 2015
setup.py Update setup.py Mar 9, 2015
tox.ini Add tox.ini Mar 8, 2015

README.rst

Django-Misaka

https://travis-ci.org/chiehtu/django-misaka.svg?branch=master https://coveralls.io/repos/chiehtu/django-misaka/badge.svg?branch=master 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 %}
    

Change log

v0.2.0

  • Add template tag.
  • Function markdown was renamed markdown_filter.
  • Update information for author (setup.py).

v0.1.0

  • First version, it's only provides template filter.