You are writing a comment about A Syntax Coloring Template Filter for Django, here is a quick summary:
I spent a bit of time this evening writing a template filter for Django that accepts a string of code (and optionally the name of the Pygments lexer to use for highlighting) and returns the code nicely syntax colored. A simple but slightly helpful addition to your templating arsenal.
You are responding to this comment written by Will Larson on August 12th 2008, 15:46.
I updated the article above, but it is now possible to grab a copy of the code from the repository on GitHub.
git clone git://github.com/lethain/django-syntax-colorize.git
Hope that'll work out.
Please be aware that comment forms go stale after one hour.
Comments may make use of LifeFlow MarkDown. Raw html will be escaped.
Quick Introduction to LifeFlow MarkDown Syntax
A highlighted code block:
Other common languages work as well: scheme, python, java, html, etc.
Other markdown syntax: