SyntaxHighlighter is THE client side highlighter for the web and apps! It's been around since 2004 and it's used virtually everywhere to seamlessly highlight code for presentation.
The latest doc is currently located at alexgorbatchev.com/SyntaxHighlighter
- Have node.js v0.10 or higher
- From the source folder run
npm install
- Then
./node_modules/.bin/bower install
to download dependencies - Then
./node_modules/.bin/grunt build
to build - Look in the
pkg
folder for results!
Testing is something that is still inherited from ages ago and is currently using QUnit. To test the project, it's a two step process:
- Start HTTP server
./node_modules/.bin/grunt test
- Open browser on
http://localhost:3000
and go from there