Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

add syntax highlighting to

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 css
Octocat-spinner-32 example
Octocat-spinner-32 html
Octocat-spinner-32 js
Octocat-spinner-32 README
Git repository:

cpan-syntax is a collection of files and snippets to add syntax
highlighting to

(all except jQuery itself have been included in this repository):
* jQuery:
* jquery.styleswitch.mlklc.js:
* jquery.cookie.js:

* Upload the js/* and css/* files.
* Include the contents of html/select.html somewhere on the page.
  e.g. in the footer
* Include the contents of html/head.html in the header. Change paths as necessary
* Add class="sh_perl" to any markup that represents code.

Look at example/Multiplex.html for an example.  Grep for "ADD THIS" to see the added html.

Please see the included or linked software distributions listed above for 
their corresponding licenses.

css/sh_cpan.css is a modified version of a theme from SHJS, and subject
to the licensing of SHJS.

html/*.html were assembled for use in and are released into the
public domain.

example/* simply applies this collection of files to an example module
from the CPAN, and styled with the markup and CSS from, and
everything in this directory is copyright its respective owners.
Something went wrong with that request. Please try again.