My favorites | Sign in
Project Logo
                
Search
for
Updated Nov 29, 2007 by tre...@gmail.com
CodeColor  
the "code-color" extra

(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 kailandz, Feb 26, 2008

เพลง

Comment by kailandz, Feb 26, 2008

game

Comment by luddep, 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 dakrauth, 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 lamerstar, 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
Hosted by Google Code