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: ,

Comments

Popular posts from this blog

Select box manipulation with jQuery

iTextSharp: Generating a Basic PDF file (ASP.NET/C#)

Popup Window Countdown (JavaScript)