Skip to content

Syntax highlighting for your code snippets in wordpress.com

4 July 2010

If’ve seen people using screenshots or plugins in the IDE to post their source code in wordpress.com. But it’s much easier. Just use the [sourcecode] tag in HTML mode (example for C# syntax):

[sourcecode language="css"]
your code here
[/sourcecode]

For more information see this

Advertisements

From → .NET, C#

Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: