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 installto download dependencies - Then
./node_modules/.bin/grunt buildto build - Look in the
pkgfolder 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:3000and go from there
