Enabling Syntax Highlighting in Pelican

I am trying to get code segments to display syntax highlighting.

The following is simply indented with markdown:


The following is wrapped in a code html block:

printf("Wrapped in Code Block\n");

I used this site as a reference to enable highlighting in Pelican. I downloaded and linked to zenburn.css but could not get the highlighting to work out of the box.

Looking at the generated HTML from Pelican, it wraps the code into a DIV with a highlight class. Performing the following command in Vim, zenburn.css was made to work with this class.


This is just a search and replace for the class name.