WordPress tips

Posting Source Code 

[sourcecode language=”css” configuration-parameter=?]
your code here

Language support I always use

  • cpp
  • csharp
  • css
  • html
  • javascript
  • objc
  • php
  • text
  • python
  • ruby
  • sql
  • vb
  • xml


  • light (true/false) — If true, the gutter (line numbering) and toolbar (see below) will be hidden. This is helpful when posting only one or two lines of code. Defaults to false.
  • htmlscript (true/false) — If true, any HTML/XML in your code will be highlighted. This is useful when you are mixing code into HTML, such as PHP inside of HTML. Defaults to false and will only work with certain code languages.

More info go to  http://en.support.wordpress.com/code/posting-source-code/


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: