Convert Applescript to HTML
This Applescript is from Concentrate Software takes the frontmost Script Editor document and converts it into an HTML document complete with all the syntax colouring and spacing. I've used it for the tutorials and found it invaluable. To use, simply toss this script into ~/Library/Scripts/Script Editor and select this script from the scripts menu in OS X. Your current script will be parsed and exported as an HTML document. It can be downloaded from here
For more information on Applescript have a look at the Applescript Resources Page.