Syntax Highlighting Plugins for WordPress

Syntax Highlighting Plugins for WordPress

I have tried a number of syntax highlighting plugins for wordpress but these are the ones I liked the most:

jQuery.Syntax:

$(function() {
    setInterval(function() {
        var counter = parseInt($('body').data('counter'));
        if(!counter) {
            counter = 0;
        }
        $('body').text(counter++).data('counter', counter);
    }, 1000);
});

SyntaxHighlighter Evolved:

$(function() {
    setInterval(function() {
        var counter = parseInt($('body').data('counter'));
        if(!counter) {
            counter = 0;
        }
        $('body').text(counter++).data('counter', counter);
    }, 1000);
});

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>