Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 build
Octocat-spinner-32 demos
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .bowerrc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 GPL-LICENSE
Octocat-spinner-32 Gruntfile.coffee
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 bower.json
Octocat-spinner-32 npm-shrinkwrap.json
Octocat-spinner-32 package.json
README.md

SyntaxHighlighter Gittip

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

Please see the dev branch

Something went wrong with that request. Please try again.