Sytax highlighting A-go-go
Pete
Theres only one thing that I love more than technology and thats code!
I've added the IG: Syntax Higliter plugin to this blog so I can start publishing snippets of code on this blog. The plugin can support php, html, sql, and a whole host of others languages click here to find out more about it.
Below is a fascinating piece of PHP I cranked out to check its working.
My only complaint I have about the plugin is it doesn't seem to provide any indentation when it displays the code, even if you paste the code into wordpress nicely indented. Maybe there's a setting to activate this. If anyone can tell me where it is I'll buy them a beer, if you don't drink beer then you can watch me drink two instead.
// Pete Graham
Posted in Pete Graham, Tech, code, plugins, syntax highlighting |
6 Comments »