views:

95

answers:

3

Where can I find a simple JavaScript based HTML syntax highlighter?
Simpler is better, and I don't need any line numbers or tricks, just added colors.

If it is the same colors as dreamweaver, even better!

+2  A: 

Here are some :

VirtualBlackFox
+4  A: 

There's also google's prettify.js, which is the syntax highligher used on this site:

http://code.google.com/p/google-code-prettify/

Joel Coehoorn
Nice one and simple, i will try to remember it. Last one that impressed me (but it isn't in javascript) is the [email protected] bot in Google Wave as it pretty much work in real time, as-you-type.
VirtualBlackFox
A: 

If you are using Dojo a nice one is dojox.highlight extension.

Demo page is here.

Cocowalla