Saturday, March 28, 2009

Syntax Highlighting Code in Webpages

There is a nice bit of Javascript code here: http://alexgorbatchev.com/wiki/SyntaxHighlighter This package allows uses css to display pretty source code on a webpage. It supports a lot of languages, but is missing a lot of common ones too.

If you are using Blogger (or somewhere else where you can't upload files). You can hot link the the scripts and css at http://alexgorbatchev.com/pub/sh/ which is up 99% of the time.

No comments:

Post a Comment