Can i make Prettify work on any code block? without the class prettyprint?
<p>i am using <a href="http://code.google.com/p/google-code-prettify" rel="nofollow">prettify</a>, i am wondering if i can make it work with any <code>code</code> block, not requiring the <code>prettyprint</code> class. </p>

<p>else, how can i attach the class <code>prettyprint</code> dynamically, maybe using jquery. what i want to acheive is similar to stack overflow where code typed in the editor will be "pretty printed" in the preview and output. </p>

<p>i tried </p>

<pre><code>$("#main").delegate("code", "ready", function() {
    // this does not seem to run at all?
    // intending to add the prettyprint class here
});
</code></pre>
