View on GitHub

chrisgilmerproj

import chris; chris.blog()

Download this project as a .zip file Download this project as a tar.gz file

Syntax Highlighter

29 Dec 2009

I finally added an app to my blog that allows me to publish code directly.  This is the SyntaxHighlighter Evolved plugin that I found through the Wordpress Plugin page. As an example I can print python code: [python] print "Hello World" [/python] I can also print c++ code: [cpp] cout << "Hello World"; [/cpp] While it may not look terribly impressive with my two examples, I expect that in the near future I'll be posting more code into my posts where the formatting will be more useful. I've wanted this capability for some time but finding the right syntax highlighter for my needs took a while. I'm quite pleased with the out-of-the-box performance and all the great options it gives me.