Testing out code markup plugin
Trying out a plugin for wordpress to display code snippets.
('#0' + rint.toString(16)).replace(/^#0([0-9a-f]{6})$/i, '#$1')
if(foo == bar){
// testing
}
Categorized as Uncategorized
Trying out a plugin for wordpress to display code snippets.
('#0' + rint.toString(16)).replace(/^#0([0-9a-f]{6})$/i, '#$1')
if(foo == bar){
// testing
}
I would recommend you take a look at the WP-Syntax plugin - you will need to either have GeSHi installed or install it yourself, but once that’s finished you’ll get some pretty nice, easy-to-use syntax highlighting.
Thanks! That’s very useful info!