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!)
No Comments
Leave a comment
RSS feed for comments on this post. TrackBack URL