skip to navigation
skip to content

django-jinja-markdown 1.0.1

('Django-Jinja (Jinja2) extension and filter for parse markdown text markup.',)

Django-Jinja (Jinja2) extension and filter to parse markdown text in templates.



Install django-jinja-markdown:

pip install django-jinja-markdown

Add django_jinja_markdown to INSTALLED_APPS.

To be able to use the {% markdown %} tag you should add the Jinja extension to your django_jinja TEMPLATES extensions list:

        'BACKEND': 'django_jinja.backend.Jinja2',
        'OPTIONS': {
            'extensions': [

Basic Use

Examples of using filter in template:

{{ content|markdown }}
{{ markdown('this is **bold**') }}

Or with additional settings:

{{ content|markdown(extensions=['nl2br',]) }}
{{ markdown(content, extensions=['nl2br',]) }}

Example of using extension:

{% markdown %}
Text which will get converted with Markdown.
{% endmarkdown %}


This software is licensed under The MIT License (MIT). For more information, read the file LICENSE.


Forked in 2016 from the jingo-markdown project.

File Type Py Version Uploaded on Size
django-jinja-markdown-1.0.1.tar.gz (md5) Source 2016-07-22 4KB
django_jinja_markdown-1.0.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-07-22 5KB