WordPress Plugin for syntax highlighting with rainbow js
JavaScript PHP CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
include
js
languages
src
.gitattributes
.gitignore
.gitmodules
README.md
gulpfile.js
package.json
readme.txt
uninstall.php
wp-plugin-boilerplate.json
wp-rainbow.php

README.md

WordPress Rainbow Hilite

Includes rainbow.js a syntax highlighting script written by Craig Campbell. Line numbering through rainbow.linenumbers by Ron Valstar.

This is the development repository. If you just want to use the plugin you can find it in the WordPress plugin repository.

Developing

If you make changes in the js files you will have to recompile the minified script versions through Closure compiler.

In order to compile run build.sh, located in the plugins root directory:

	cd [WP_PLUGIN_DIRECTORY]/wp-rainbow-hilite/
	./build.sh

The script expects compiler to be present under /usr/local/compiler-latest/compiler.jar. If for some reason the file is located somewhere else on your system you can change the CLOSURE_COMPILER var in build.sh line 3.

Plugin API

See the Project Wiki for details.

Support

You like what you see? Here's a way to keep me rocking:

PayPal - The safer, easier way to pay online!