I’ve found that dp.SyntaxHighlighter is similar to Chili, in that it uses language descriptions based on JavaScript regular expressions, so it’s quite easy to convert them to Chili recipes. Here are the first 5 conversions (more to come): Java, C++, C#, CSS, and Delphi.
Chili 1.5 Released Today
UPDATE: Chili 1.6 has been released
Changes
- Changed the recipes format to JSON. Previous recipes need a small conversion. Just compare to a JSON recipe and you’ll see how to
- Improved support for dynamic setups, by means of metaobjects, which allow a clean configuration on a per element basis
- Improved support for static setups
- New examples show how to configure static and dynamic setups
- static: recipes and stylesheets linked from the page
- dynamic: recipes and stylesheets downloaded on demand
- The examples also show how to mix languages in the same page, manually configure a mixed language setup, use metaobjects, use a dynamic download in a static setup
- Added an option for preventing CSS downloading on demand
- Added a new recipe and example for pure HTML
- Updated the bundled jQuery library to version 1.1.1
- Dropped support for Code Highlighter styleSets. It’s very easy to convert a styleSet to a JSON recipe, though
- Fixed a bug in the white space’s rendering
- Improved the white space’s rendering in Opera9.1
- Added scope protection to all the Chili code
- Tested with IE7, FF1.5, Opera9.1
Files
- download all in a zip
- read the manual
- Examples (static)
- Examples (dynamic)
Chili 1.4 Released Today
UPDATE: Chili 1.5 has been released
Changes
- Fixed a bug in the computation of the backreferences
- Improved control and rendering of white space
- Changed the method for detecting an already loaded CSS
- Added a new recipe and example for MySQL
- Updated the bundled jQuery library to version 1.0.4
- Cut the bundled manual.txt to a stub (all is online)
Files
- download all in a zip
- read the manual
- Example: Chili highlighting Chili
- Example: Chili highlighting jQuery
- Example: Chili highlighting PHP
- Example: Chili highlighting MySQL