You can clone with
DEPRECATED in version 1.3.0 Use the fenced-code-blocks extra instead. It has a cleaner syntax for specifying the language. The code-color extra will be removed from markdown2 in version 2.0 or so.
Allows syntax coloring of a code block by prefixing the code block with ':::LANG'. E.g.:
Some Python code:
You must have the pygments Python module installed for this to work.
I was never that happy with the ':::LANG' syntax, so I'm happy to following GFM's better syntax lead with fenced-code-blocks.
(Return to Extras page.)
Last edited by trentm, April 04, 2012