Here at Automattic we’re allllll about sharing source code. #
WordPress.com recently rolled out some very cool tools for posting source code, yet, ironically, considering the first sentence of that post, quoted above, the code hasn’t [yet] been released for WordPress users not on the shared hosting service.
Viper007Bond to the rescue. Once I saw what WordPress.com users were able to use, I grew envious and began to hunt for my own solution. Then Viper posted news of his own implementation to the mailing list, and after a bit of searching on the plugins site I found his SyntaxHighlighter plugin. Allow me to demonstrate:
// Demonstrating syntax highlighting. print “This is some PHP code.”;