Crayon Syntax Highlighter for posting code in WordPress

So, after the blog was hacked and the hosting company could not restore it from a back-up, I have embarked on setting up the blog from scratch.

I needed a syntax highlighter and went in search using the WordPress dashboard. I came up with the Crayon plug-in. It certainly seems to have a far fuller feature set than the previous plug-in I used.

Below is some PHP code:

Here is a comment block
function marked() {
    return true;
echo 'Hello World!';
echo 'This line is marked,'; // line will have a background color
echo 'this line is not.';


By foxbeefly

PHP / MySQL Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.