radiant/radiant

A simple PHP-based syntax highlighter

dev-master 2012-10-22 18:49 UTC

This package is not auto-updated.

Last update: 2023-09-30 07:53:15 UTC


README

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);