Tuesday, January 04, 2005

Source Code Syntax Highlighting (JavaScript)

dp.SyntaxHighlighter can highlight your source code on a web page (inludes line numbers and the ability to print or view in plain text format) and supports the following languages:

  • C#
  • VB
  • VB.NET
  • JavaScript
  • PHP
  • SQL
  • XML style (XHTML, XML, HTML etc)

If used, the page will not validate (at W3C's validator), due to use of <textarea name="code" language="vb"> but if 100% validation is not required, this is a good tool.

Tags: ,

No comments: