UPDATE: Chili 1.1 has been released
- No code change.
- A proper free license (MIT) has been added to all files.
- The version number has been added to the path of the Chili site.
- A new directory structure for examples has been added, together with a brand new example where Chili highlights jQuery.
- Chili highlighting Chili
- Chili highlighting jQuery
I clearly stated the terms of the license in the release post. But it’s important that any sensible information be protected by the same terms, so I added an MIT license to them.
I found that without version numbers in the path I had to make adjustments to incoming links or provide some kind of redirection. Versioned directories should save me time.
- Content previously found in /aercolino /chili/ has been moved to /aercolino /chili /1.0/
- Content of this 1.0_b release has been placed in /aercolino /chili /1.0_b/
Starting from /aercolino /chili /1.0_b /examples/ can now be found a new directory structure for showing how Chili can be used in a sample environment. The base directory hosts generic files linked by the examples, like recipes and stylesheets.
Any example has its own directory numbered from 1 upward, like /aercolino /chili /1.0_b /examples /1 /chili-1.0-highlighting-chili-1.0.html which is the example previously available.
Chili highlighting Chili
/aercolino /chili /1.0_b /examples /1 /chili-1.0-highlighting-chili-1.0.html is the only file in its directory. It loads all the files it needs from its parent directory. This is how highlighting should generally work. With Chili there is the additional benefit that the example only links to jquery and chili. Chili itself will automatically load any file it needs.
Chili highlighting jQuery
UPDATE: Chili 1.0_b has been released
- Syntax highlighting for the browser; IE, Firefox, Mozilla, and Opera friendly
- 100% compatible with Code Highlighter 0.4 styleSets
This software is gratis.
You could buy me a cappuccino, but it’s up to you.