Best to be implemented in javascript.
And easy to use.
Best to be implemented in javascript.
And easy to use.
SO are using the WMD editor.
Googling for "javascript syntax highlighter" also brings up a lot of useful stuff.
You can check out this very good code syntax highlighter project: SyntaxHighlighter
Stack Overflow uses Prettify from Google.
See this question (on meta) for more discussion about this.