Syntax Highlight

If you want to highlight the code when making your comment, wrap it with the following tag.
[sourcecode language=java]
<your code here>
[/sourcecode]

The above piece of code will be highlighted with Java code format.

The following languages are supported.
* actionscript3
* bash
* coldfusion
* cpp
* csharp
* css
* delphi
* erlang
* fsharp
* diff
* groovy
* html
* javascript
* java
* javafx
* matlab (keywords only)
* objc
* perl
* php
* text
* powershell
* python
* r
* ruby
* scala
* sql
* vb
* xml

Reference: WordPress.com – Posting Source Code

About these ads

6 thoughts on “Syntax Highlight”

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

About these ads

Dream BIG and go for it =)

%d bloggers like this: