Feb
15

Introduction to new tag: sourcecode

Introduction to new tag: sourcecode:

I hope you remember when I introduced about the tag pre in one of my post. This tag can be used to display the source codes in your posts in wordpress.com. But this tag had some bugs. This could not be used with all the themes. But now, wordpress has a new tag that can be used with all the themes and also, this gives al very good look to your codes.

This tag is sourcecode. See the effect if this code below:

example2

You can use this codes like this:

[sourcecode language='css']

your code here

[/sourcecode]

Popularity: 3%

Related posts:
  1. How to post source code? There is shortcode that you can wrap around source code...
  2. How to write codes in wordpress Posts? I hope you remember the post on HTML character entities...
  3. How to Install WordPress in Your Language You can install an international version of WordPress using following...
  4. How to write codes in wordpress Post? How to write codes in wordpress Post? One can write...
  5. How to customize your codes in Posts?? How to customize your ocdes in Posts?? I am sure...

Leave a Reply

You must be logged in to post a comment.