google-code-prettify introduction

[不指定 2009/12/29 09:42 | by ipaddr ]

Main page: http://code.google.com/p/google-code-prettify/

A Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page.

For an example, see the README

Download

Change Log

Features

  • Works on HTML pages
  • Works even if code contains embedded links, line numbers, etc.
  • Simple API : include some JS&CSS and add an onload handler.
  • Lightweights : small download and does not block page from loading while running.
  • Customizable styles via CSS.
  • Supports all C-like, Bash-like, and XML-like languages. No need to specify the language
  • Extensible language handlers for other languages. You can specify the language.
  • Widely used with good cross-browser support. Powers code.google.com
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]