Location: PHPKode > scripts > Highlighter > highlighter/example1.php
<?php

include_once('highlighter.php');

$highlight = new Highligher;

$code = "tag box; only tags, not highlight";
$code = $highlight->add_tags($code, "box");

echo $code;


$code = "div class boxed; only tags, not highlight";
$code = $highlight->add_tags($code, "boxed", 1);

echo $code;

?>
Return current item: Highlighter