Any way to get syntax-highlighted code blocks with Text::MultiMarkdown?
Dr. Drang
drdrang at gmail.com
Mon Dec 6 11:08:33 EST 2010
I just added syntax highlighting to my blog by wedging a call to Pygments
into my fork of PHP Markdown Extra (yet another abuse of Michel's code). You
could do a similar thing with MultiMarkdown by changing the _DoCodeBlocks
function.
My fork of PHP Markdown Extra is here:
https://github.com/drdrang/php-markdown-extra-math
The syntax highlighting is in the "pygments" branch. A brief description of
how I use it is here:
http://www.leancrew.com/all-this/2010/12/syntax-highlighting/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20101206/00ccd878/attachment.htm>
More information about the Markdown-Discuss
mailing list