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

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

Project Description

[![changelog](http://allmychanges.com/p/python/django-markdown2/badge/)](http://allmychanges.com/p/python/django-markdown2/?utm_source=badge)

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

Dependencies

django-markdown2 depends on python-markdown2, which can be found at http://code.google.com/p/python-markdown2.

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 http://pypi.aartemenko.com, 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.

Contribution

Code for this application available at: <http://github.com/svetlyak40wt/django-markdown2>

Release History

Release History

This version
History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-markdown2-0.3.0.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Feb 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting