Pasting source code to wordpress.com using Windows Live Writer

Apparently, wordpress.com does not play nicely with pasting source code, especially if you are using the excellent Windows Live Writer and its Code Snippet plugin. I had to google quite a bit before I could figure out the right way to paste source code to my blog using WLW. Thanks to Vadim for his very useful post.

So here’s my test to see if I can post source code properly:

public class HelloWorld {
	public static void main(String [] args){
		System.out.println("Hello, Wordpress.com");
	}
}

Leave a Comment

Filed under Programming

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 )

Connecting to %s