DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

John has posted 18 posts at DZone. View Full User Profile

Use Markdown With Django

  • submit to reddit

Install markdown and make sure it is in your python path.

Include 'django.contrib.markup' in INSTALLED_APPS in your file.

{% load markup %}

..then use
{{ post.body|markdown }}