Code Htmler

Code Htmler is a simple program that will translate plain text code into a colorized html version of the code. Currently there exist language definitions for C#, JScript, VB.Net and XML.

It uses regular expressions to match language structures, such as keywords and literals (strings, integer, real, etc.). The language definitions are stored in xml files and so languages can be customized or new languages can be created rather easily.

I wrote Code Htmler a long time ago with the some help from Shawn A Van Ness. I just recently recoded most of it so that I could use it for the syntax highlighting within PostXING. With the next release (coming soon I believe have to ask Chris for exact time) everyone will be able to use it to do syntax highlighting for their blog. I have been using it for the last few entries which have code samples, if you want a quick sample.

I have uploaded the source code up to my site http://puzzleware.net/codehtmler/ and up to Project Distributor http://projectdistributor.net/Projects/Project.aspx?projectId=37. At http://puzzleware.net/codehtmler/ you can actually play around with it and test it out on the web. So if you are interested feel free to have a look and let me know what you think.

3 Comments

Comments have been disabled for this content.