Chili 2.1 Released Today

UPDATE: Chili 2.2 has been released

Changes

  • Added support for line numbers (boolean option: lineNumbers)
  • Added a selection helper for Internet Explorer and Mozilla
  • Improved the PHP recipe for working fine with Safari too
  • Improved crossbrowser support

Links

Counting, repeating, and unique ids

Here are some micro jQuery plugins that implement JavaScript closures, for object oriented pleasure.

Repeat Something n Times

{[ .repeat | .hilite( =javascript= ) ]}

New Date Value (unique id)

{[ .newdate | .hilite( =javascript= ) ]}

Counter

{[ .counter | .hilite( =javascript= ) ]}