code-prettify

code prettify

Description

This plugin using google-code-prettify to highlight source code in your posts.

Usage

    1. Install and activate the plugin
    2. Use <pre><code> and </code></pre> tag around the code,and post it

eg:


<pre><code>
class BigBang {
    function blah() {
        echo "Hello world";
    }
}
</code></pre>

Effect:


class BigBang {
    function blah() {
        echo "Hello world";
    }
}

ChangeLog

version 0.2

  • change tag to <pre><code>

version 0.1

  • initial add

Download

https://github.com/volca/code-prettify

code-prettify at wordpress

One Reply to “code-prettify”

Leave a Reply

Your email address will not be published.