My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
CodeColor  
the "code-color" extra
Updated Mar 6, 2011 by tre...@gmail.com

Note: This project has been moved to trentm/python-markdown2 on Github.

(Note: This extra is still experimental. I'm not entirely happy with the ':::$lang' syntax at the start of code blocks to give the language.)

Pygments-based syntax coloring (patch from Adam).

TODO: describe (this has been checked in now, use the source Luke! :)

(Return to Extras page.)

Comment by kaila...@gmail.com, Feb 26, 2008

เพลง

Comment by kaila...@gmail.com, Feb 26, 2008

game

Comment by lud...@gmail.com, Sep 30, 2008

Needs to be clearer that you add e.g. ::: python to start the highlighting (like bolded and a big ol "To start syntax highlighting"), even though it says it right there I had to scoop around the code and work my way through it to find out. :)

Comment by dakra...@gmail.com, Oct 10, 2009

In the original python markdown code highlighting extension, you could alternatively use a she-bang like 1st line to indicate the language, which I believe feels more proper:

#!python instead of :::python

Comment by lamers...@gmail.com, Dec 18, 2009

Is there a way to specify which color style will be used? Because the .codehilite on a black <pre> doesn't give good results. Like a way to configure the extra with the good style.


Sign in to add a comment
Powered by Google Project Hosting