blog.vorpal.cc

Hi! My name is David Hogue. I write code in Bend, Oregon.

November 1, 2007

JavaScript syntax hightlighters

Filed under: — David @ 11:34 am

I found some really cool code editors and syntax hightlighters written in JavaScript and I thought I’d share.

The best I’ve found so far is CodePress. It supports many languages, hightlights as you type, adds line numbers, and seems the most reliable.

CodeMirror is another one I found. While it isn’t as polished as CodePress, he describes how he went about creating it which I found helpful and interesting (especially the bit about the maniacal gnome.)

EditArea is another impressive one, but I haven’t looked into it too much.

CodeArea 2 has an example editing html, but I can’t read any of the text around it since it is not written in English. It’s a .cz domain, the Czech Republic, where the speak Czech apparently.

Also, while looking for editors, I stumbled across a vi clone in JavaScript. It is impressively complete. It’s almost as cool as DHTML Lemmings.

Edit 11/2/07 1:33PM: removed funky font tags.

Leave a Reply