How to post source code on WordPress blogs

by

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.

Advertisements

One Response to “How to post source code on WordPress blogs”

  1. Lonitra Says:

    Thanky Thanky for all this good inmrofation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: