No description, website, or topics provided.
PHP
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
src/Radiant
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
demo.php
phpunit.xml.dist

README.md

Radiant

Build Status

Radiant is a simple syntax highlighter based on PHP.

It is based on Nijikodo by Clint Campbell.

Supported Languages

  • PHP
  • JavaScript
  • HTML
  • CSS

Feel free to add more and send me a pull request!

Usage

$code = 'echo $foo;';
echo \Radiant\Parser::transform('php', $code);