Archive for the ‘Wordpress’ Category

How to post source code on WordPress blogs

November 28, 2007

If you wonder how to post your source code in a blog, read this article. Basically, you need to wrap your code in these tags: [sourcecode language='css']…[/sourcecode]. Replace the language “css” with the language that you’re writing in. Currently they support syntax highlighting for the following language codes: cpp, csharp, css, delphi, java, jscript, php, python, ruby, sql, vb, xml.