Code2HTML Widget is a Mac OS X Tiger Dashboard widget that allows source code to be converted to displayable HTML. For example, suppose that you wanted to display the following HTML in an HTML page:
<html>
<body>
<h1>Welcome to my webpage</h1>
</body>
</html>
Using the Code2HTML widget, you simply copy this source into the widget, and click the convert button. By doing so, you get:
<html>
<body>
<h1>Welcome to my webpage</h1>
</body>
</html>
Here's a couple screenshots of the widget in action.

Download the Code2HTML Widget.
To install, simply unzip the package and drag the Code2HTML widget to your /Library/Widgets folder.
07-18-2005 Version 1.2b Released (bug fix)
Escaped escape character in copied code so that escape sequences work correctly in code samples
07-03-2005 Version 1.2 Released (bug fix)
Found a bug that would cause problems with converted code copied to the clipboard. Here's an example:
function $() {
//do something
}
When this code is converted the $() symbols are removed, in the instance when no spaces are inserted around the ( ) symbols. The reason, I discovered, is that the command line is interpreting the $() as an expression, evaluating it, and returning nothing. Fixed by escaping the $ symbol.
06-27-2005 Work continues
I am currently working on the next version of Code2HTML. Here's a short list of what I would like to be able to do in the next version:
06-22-2005 Version 1.1 released.
What's New: