Pygments
Using Pygments in various scenarios
« Back To IndexPyGtk
Armin has written a piece of sample code that shows how to create a Gtk TextBuffer object containing Pygments-highlighted text.
See the article here: http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-gtk-rendering/
Wordpress
He also has a snippet that shows how to use Pygments in WordPress:
http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-in-wordpress/