Adding code in word press blog


blog on word press about word press feature ;). I was having hard time how to put in XML code or HTML code directly inside my blog, after spending little time I came across this link http://en.support.wordpress.com/code/posting-source-code
Idea is use “sourcecode” tag, which supports a lot of languages.

	  			 
          [//sourcecode]

Some of the supported languages

actionscript3
bash
clojure
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

Advertisements

About ChandanPandey

Try to come up with a good design as by product of good coding practices

Posted on June 6, 2012, in Wordpress tips and tagged , . Bookmark the permalink. Leave a comment.

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: