|
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.) |
► Sign in to add a comment
เพลง
game
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. :)
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
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.