Source Code in WordPress free hosting

When I started my blog here at WordPress, I immediatly noticed that I could not add my own plugins to insert cool tags for source code. This is only because I use them to host my blog. However, there is a cool feature that I found that I thought I would share because it took a while for me to find it. This works great! When you add code wrapped in the ‘sourcecode’ tags, it looks something like this:


INSERT INTO table

VALUES

( 'X'

, 'Y' );

With this, it has a ‘language’ attribute in which you can assign many different languages so that it will do automatic formating for you! Pretty nice feature to have since you can’t do your own! Enjoy!

Advertisements