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!

A jinja2 extension that adds a {% markdown %} tag to templates.

Project Description
# Jinja2 Markdown extension [![Build Status](](

A simple extension for adding a `{% markdown %}{% endmarkdown %}` tag to Jinja.

## Installation

`pip install jinja2_markdown`

## Usage

from jinja2_markdown import MarkdownExtension





jinja_env = Environment(extensions=['jinja2_markdown.MarkdownExtension'])

## Features

### Automatic whitespace gobble

This works:

<article class="article container-very-tight pad-medium highlight-first">
{% markdown %}
Terms of Service

In short, we run this website called Volcanic Pixels and you are more
than welcome to use it and the products distributed through it. All we
ask is that you don't use it for things which are illegal or harmful.


{% endmarkdown %}

## Want a new feature? Bug report?

Open an issue on github, or better submit a pull request.
Release History

Release History

This version
History Node


History Node


History Node


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
jinja2_markdown-0.0.3.tar.gz (2.1 kB) Copy SHA256 Checksum SHA256 Source Jan 20, 2015

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