/ best free open source web resources /

Graphic Resources

Free Syntax Highlighting Class Developed with MooTools

Posted · Category: Code, MIT License

Lighter.js is a free syntax highlighting class developed with MooTools. It was created with the MooTools developer in mind and takes advantage of many of the Framework’s features. Using it can be as simple as adding a single script to your webpage, selecting the elements you wish to highlight, and Lighter.js takes care of the rest. Lighter.js has been tested on Safari 2+, Internet Explorer 6+, Firefox 2+ and Opera 9+.

Syntax Highlighting

Requirements: MooTools Framework
Demo: http://pradador.com/code/lighterjs/
License: MIT License

  • fan

    Thank you! I have been waiting for this for a very long time.

  • Gustavs

    Syntax highlighters really should have a good way to copy the code, as that’s why they generally are being used.

  • I agree, this is cool, but in FF3 it selects like an image

  • haha, my bad. confused this page with the example page.

    works great, keep up the good work!

  • mike

    Nice idea but shame it doesn’t support textareas – would have liked to have used it in the editor i’m building …

Supported By


Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons