An open API service indexing awesome lists of open source software.

https://github.com/ccampbell/nijikodo

Code syntax highlighting library written in PHP.
https://github.com/ccampbell/nijikodo

Last synced: 9 months ago
JSON representation

Code syntax highlighting library written in PHP.

Awesome Lists containing this project

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