2005-08-13

语法高亮显示工具dp.SyntaxHighlighter

今天在网上发现一个用javascript写的开源项目dp.SyntaxHighlighter,用于高亮显示网页上的程序片断。该脚本能在IE 6.0和Firefox 1.0和Safari上正常运行,但不支持Opera。

Supported Languages



  • C#

  • VB & VB.NET

  • Delphi, Pascal

  • JavaScript

  • PHP

  • Python

  • SQL

  • XML, HTML, XSLT and any other XML style code


Built-in Tools



  • View original unformatted source code

  • Print formatted code

  • Copy original unformatted source code to clipboard (IE only)


Features



  • Flexible and easily extendedable architecture

  • Actual color highlighting is performed on the client side using JavaScript

  • Uses CSS

  • Line numbers

  • Smart tab support

没有评论:

发表评论