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.
- Host: GitHub
- URL: https://github.com/ccampbell/nijikodo
- Owner: ccampbell
- License: apache-2.0
- Created: 2010-07-19T02:00:26.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-10-14T01:05:59.000Z (about 15 years ago)
- Last Synced: 2024-04-08T16:52:03.861Z (almost 2 years ago)
- Language: PHP
- Homepage: http://www.craigiam.com/nijikodo
- Size: 110 KB
- Stars: 29
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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