Code syntax highlighting library written in PHP.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
lib/Nijikodo
LICENSE
README
demo.php

README

Nijikodo is an object oriented code syntax highlighting library written in PHP.

Current supported languages include CSS, HTML, JavaScript, and PHP.  The generic regex patterns work for other languages as well.

For usage examples see demo.php.

http://www.craigiam.com/nijikodo

Some of the generic regex patterns are based on this post by Dominic Szablewski:
http://www.phoboslab.org/log/2007/08/generic-syntax-highlighting-with-regular-expressions