5 ms·
Also worth checking out: highlight.js http://softwaremaniacs.org/soft/highlight/en/ http://softwaremaniacs.org/soft/highlight/en/ (doesn't use jQuery and is mod
by dchest 17y ago
Also worth checking out: highlight.js http://softwaremaniacs.org/soft/highlight/en/ http://softwaremaniacs.org/soft/highlight/en/ (doesn't use jQuery and is modular).
- ioquatix 17y agoThat looks interesting. Using jQuery in my opinion is a feature - it reduces overall code bloat (DRY) - and integration is easier, since common jQuery idioms are used. jQuery.Syntax is also highly modular - only the syntax definitions and stylesheets required are loaded. If there is nothing on your page, only a bare minimum (2) scripts are loaded. These scripts are deliberately as short as possible, so that load time is fast.