SyntaxHighlighter

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

Building

  1. Have node.js v0.10 or higher
  2. From the source folder run npm install
  3. Then ./node_modules/.bin/bower install to download dependencies
  4. Then ./node_modules/.bin/grunt build to build
  5. Look in the pkg folder for results!

Testing

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:

  1. Start HTTP server ./node_modules/.bin/grunt test
  2. Open browser on http://localhost:3000 and go from there

TODOs

  • Automated mocha based test
  • Hook up Travis CI
  • Split up the source into modules and build with browserify
  • Update the doc
  • Update contributors page from the last two years. I have been horrible on giving credit, I'm sorry everyone!