I was looking for a good way to convert syntax colored code to HTML to post in the blog, and I found a small utility made by Robert Verpalen that you can download on his blog : HotDog's Blog
There are some small issues with it, but the code is quite simple (even if a bit ugly ;-) no offense, the tool is so useful !) and you can manage small changes to match your needs.
Thanks again !
Skup