Altervisitor.com

Syntax Highlighter

The Syntax Highlighter is an ASP script that can syntax-highlight HTML, VB, and ASP (which is just a combination of HTML & VB), returning it as HTML. As the server-space where this site is hosted does not support ASP execution, I can't place it online. However, it is available for download, and the pane to the right links to a sample of the HTML produced.

The script itself simply consists of an input box in which to paste the content to be highlighted, and a "Convert" button. When clicked, the page will refresh with the highlighted-code being displayed. This can then be saved off to disk, or the source can be viewed. As the code is simply an ASP script, the colours it uses, etc. can easily be modified to the individual's preferred highlighting standards. The code can obviously also be copied out of the ASP page and into a VB/VBScript application, as the highlighter itself is implemented as a VBScript class.