Highlightr

This is a very basic and crude highlighter. It doesn’t highlight keywords, strings, or any of the things fancy highlighters everywhere else do. Simply, this highlights every alternate line of code with a separate background colour.

Requires the jQuery framework, but only to select the <pre><code> blocks. If you know what you’re doing, you can remove the code to include the framework, and fix the code from the plug-in editor page.

Demo

<?php

echo "This is a simple, alternate version of the 'Hello World!' example";

function helloWorld(){
    echo "Hello World!";
}

helloWorld();
?>

Known Issues/Bugs

0.7 →
Still no keyword highlighting. Will skip 0.8, 0.9 and include that in 1.0.
0.5 →
None! (probably because there aren’t any complicated features!)

Download

Highlightr (v0.7)


No Comments


Leave a comment

You can use all presentational tags, but I prefer if you use Markdown. It's just easier to use.

RSS feed for comments on this post. TrackBack URL

Copyright © 2006-08 Aditya Mukherjee | Valid XHTML 1.0 Transitional Valid CSS!