Last night, i checked a very cool piece of code into dojox. It goes by the name dojox.lang.highlight and provides syntax highlighting for a number of programming languages. The orig code was released BSD, and generously contributed under CLA by Ivan Sagalaev.
the test page can be seen here:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/highlight/tests...
