Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

This is a simple app, which supplies a single template tag for markdown markup.

Project Description


This is a simple app, which supplies a single template tag for markdown markup.


django-markdown2 depends on python-markdown2, which can be found at

Installation and usage

  • Place django_markdown2 somewhere in your PYTHONPATH.

  • Add django_markdown2 to you INSTALLED_APPS.

  • In any template do:

    {% load md2 %} {{ variable|markdown }}

  • Or specify additional extensions:

    {% load md2 %} {{ variable|markdown:”safe, code-friendly, code-color” }}

  • Also, if you use my recent markdown2-with-blackjack from, then you can pass additional options to code-color extension:

    {% load md2 %} {{ variable|markdown:”safe, code-friendly, code-color: noclasses|linenos” }}

    Options from this example switch off css classes and turn on line numbers.


Code for this application available at: <>

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.1 kB) Copy SHA256 Hash SHA256
Source None Mar 6, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate