Home » Programming » Source Code in WordPress free hosting

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

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