Chili 1.8b Released Today

UPDATE: Chili 1.8c has been released

Changes
  • Fixed a bug that showed up when the content of an element to highlight was not a single chunk: in that case the content was erased. Now such an element won’t be highlighted by Chili.
    Content without markup is one chunk, which makes it possible to apply Chili’s markup.
Files
  • download all in a zip
  • read the manual
  • Examples
    • bundled languages
      this page shows how Chili highlights the bundled languages: JavaScript, PHP, MySQL, XHTML, Java, C++, C#, Delphi, and LotusScript (BTW, using the dynamic and automatic setup)
    • static, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets all at once, using HTML
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc, metaobjects: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
      • highlighting code sections using special recipes and stylesheets, by means of metaobjects
    • all the other combinations: this page shows all the other possible combinations

Chili 1.8a Released Today

UPDATE: Chili 1.8b has been released

Changes
  • Fixed a bug that showed up when the metadataSelector option was an empty string. Now that value is used for telling Chili not to execute the metaobjects plugin (which Chili executes by default)
  • Some minor cleanup
  • Renamed the bundled jQuery library to reflect the correct version number (1.1.2)
Files
  • download all in a zip
  • read the manual
  • Examples
    • bundled languages
      this page shows how Chili highlights the bundled languages: JavaScript, PHP, MySQL, XHTML, Java, C++, C#, Delphi, and LotusScript (BTW, using the dynamic and automatic setup)
    • static, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets all at once, using HTML
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc, metaobjects: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
      • highlighting code sections using special recipes and stylesheets, by means of metaobjects
    • all the other combinations: this page shows all the other possible combinations

Chili 1.8 Released Today

UPDATE: Chili 1.8a has been released

Changes
  • Added chainability
    • $( selector ).chili( options )… should work fine with almost all ChiliBook options
  • Improved speed
  • Improved examples
  • Added an automatic option, by default set to true
    • use true for executing Chili on page load
    • use false for not executing Chili on page load
  • Integrated the metaobjects plugin
  • Exposed the metaobjects selector by means of the metadataSelector option, by default set to object.chili
    • you can now use a different selector, but the param’s name still needs to be chili
  • Improved the elementPath / elementClass feature by means of the new options automaticSelector / codeLanguage
    • automaticSelector is a better name for elementPath
    • codeLanguage is a function that gets the element to highlight as an argument and returns the language to highlight it with
    • elementPath and elementClass are still supported
  • Fixed a bug that made Chili highlight more code sections than requested in dynamic setups, under special circumstances
Files
  • download all in a zip
  • read the manual
  • Examples
    • bundled languages
      this page shows how Chili highlights the bundled languages: JavaScript, PHP, MySQL, XHTML, Java, C++, C#, Delphi, and LotusScript (BTW, using the dynamic and automatic setup)
    • static, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets all at once, using HTML
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
    • dynamic, automatic, adhoc, metaobjects: this page shows how to setup Chili for
      • downloading recipes and stylesheets as needed, using AJAX
      • highlighting code sections automatically
      • highlighting code sections ad-hoc
      • highlighting code sections using special recipes and stylesheets, by means of metaobjects
    • all the other combinations: this page shows all the other possible combinations