04 May
Posted by Ray Cheung as 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+.
Requirements: MooTools Framework
Demo: http://pradador.com/code/lighterjs/
License: MIT License





Thank you! I have been waiting for this for a very long time.
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!
Nice idea but shame it doesn’t support textareas – would have liked to have used it in the editor i’m building …
RSS feed for comments on this post · TrackBack URI