Recently, I was looking for an easy way to do syntax highlighting of configuration files so I can easily post them to the web. Someone I know from UIUC pointed me in this direction:
Pygments has a live generator on the website as well as a Python script that can be downloaded. I encourage people to give it a try. I love it so far!