MistFyre

Role Playing Games meet the Web

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

2 Comments

  1. 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.

  2. Thanks! That’s very useful info!

Leave a Reply