Syntax Highlighting in WP
I’ve found a pretty nifty plugin to do syntax highlighting in WordPress – and because it’s Ajax/jQuery, colourization gets done after the fact so that those of you who run without javascript will still get to see some (ugly) code.
Giawa recommended a WordPress plugin for syntax highlighting that seems to work pretty well (previously I used jQuery.Syntax, but it seemed to have issues with line numbers in IE/FF).
The plugin is called wp-syntax.
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HelloWorld { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } } |