   [web] Syntax Highlighting (via JS or server side)
  Since many of you are programmers like me and write about code in your blogs and home pages, I'm going to pull a shameless plug here for a my browser based syntax highlighter.There are a lot of projects like it, but the benefit of this one is that it's very easy to add new languages to (via a few regular expressions), supports nested languages (ie. PHP/JS/CSS in HTML), and the highlighting algorithm is quite simple.It's written in Haxe, which means it can be compiled into &#106avascript, PHP, Neko and ActionScript. Pre-compiled JS and PHP is available on the site. I currently use it for my wiki and my blog (Blogger).Instructions, examples and source code.Alternatives for good measure (both are &#106avascript):http://code.google.com/p/syntaxhighlighter/http://shjs.sourceforge.net/[Edited by - Ahnfelt on August 11, 2008 7:00:43 AM]
Geshi is another popular open source one out there.   ;  True, but it's PHP only. That's great if you're using PHP of course, but &#106avascript works everywhere (uh, why does the forum lowercase "&#106avascript"?). A few other non-JS highlighters:http://www.gnu.org/software/src-highlite/ (the C version of shjs)https://jhighlight.dev.java.net/ (for Java)There are actually a load of highlighters out there. I think the primary reason to chose mine is if you use Haxe. Or if you're too lazy to read past the first link ;-)   