Chili
April 1, 2007 - 5:18am — aercolino
Chili is the jQuery code highlighter
Latest version: 2.2 (2008-07-24)
Chili directly supports highlighting of PHP, HTML, CSS, JavaScript, MySQL, Java, C++, C#, Delphi, and LotusScript. Additionally, it's fairly easy to add a new recipe for any other language by means of regular expressions.
- very fast coloring
- easy line numbers
- trivial setup
- fully customizable
- thoroughly documented
- MIT licensed
See also: Hot Chili
Examples
- Local Line Numbers
- WordPress: a template page - snippets of PHP, JavaScript and CSS into an HTML page
- WordPress: a template page - with line numbers
- Yahoo Mail: login page - lots of CSS snippets, and some JavaScript into an HTML page
- Yahoo Mail: login page - with line numbers
- GeSHi 1.0.7.22 - a PHP only file
- GeSHi 1.0.7.22 - with line numbers
- jQuery 1.2.6 - a JavaScript only file
- jQuery 1.2.6 - with line numbers
- Bad (but valid) PHP - Chili handles it almost fine, but other highlighters get fooled
- Bad (but valid) PHP - with line numbers
- Other Languages - C++, C#, Delphi, Java, LotusScript, MySQL
- Other Languages - with line numbers
