Chili highlighter
Component type
Maintenance status
Development status
Downloads
Component created
Component changed
It highlights <code> tags by default, but you can set it to highlight <pre> tags.
General notes
- Follow the instructions reported in the file README.txt (contained in the directory js) to download the jQuery Chili plugin, and copy it in the correct directory.
-
Branches for Drupal 6 and 7 looks for the jQuery plugin also outside the directory where the module is copied, such as
/sites/all/libraries/jquery.chili, orprofiles/$profile/libraries/jquery.chili(where$profileis the currently used profile). -
The module doesn't use the
ePCRE pattern modifier, and it is compatible with the Facebook Hiphop interpreter. Using that modifier with the functionpreg_replace()is also strongly discouraged by the security team, which suggest to use the functionpreg_replace_callback()instead. - When updating to a newer version, update first the Variable API module, and then the Chili highlighter module.
