I have been using Windows Live Writer almost exclusively for creating all of my WordPress blog content for almost a month now.  Over the month I have found some missing functionality in the core Live Writer product but plugins you can download and install that add this missing functionality.

One such plugin is the Live Writer Code Snippet plugin which allows you to cut/paste various source code and have it display really neat with line numbers inside your WordPress blog post.

With the Live Writer Code Snippet, you would just click on the "Code Snippet" link on your right hand sidebar or click on Insert –> Code Snippet from top of the Live Writer menu:

image thumb7 Insert Code into Windows Live Writer with Code Snippet

Just paste the code into the top portion of the Code Snippet plugin and select the scripting language that you are pasting:

image thumb8 Insert Code into Windows Live Writer with Code Snippet 

Click on the Insert button and you will have a nifty little code box showing your source code that looks like below:

   1: #content {

   2:     padding: 0 0px 0 2px;

   3: }

   4:  

   5: #content .post .post-title .post-date {

   6:     margin: 15px 10px 0 8px;

   7: }

   8:  

   9: #content .post .post-entry {

  10:     margin: 0 9px 0 4px;

  11: }

You can even configure to have a solid color background instead of alternating line colors, no line numbers, and other minor style customizations.  The best thing about using Code Snippet for Windows Live Writer is you don’t need to install a WordPress source code plug-in to make your code show up in this format.  So this means you avoid the overhead of installing and configuring one more PHP plugin on all your blogs you want to write on.

In Summary

If you use Windows Live Writer for WordPress then you should add Live Writer Code Snippet plugin to your arsenal of plugins to help showcase your source code in a clean manner that is easy for users to cut/paste from.

-Dragon Blogger

Related posts:

  1. Windows Live Writer Lacks WordPress Featured Image Support Looking for Wordpress featured image support on Windows Live Writer which is an essential featured that is needed as an...
  2. WordPress Blogging with Windows Live Writer Windows Live Writer is one of the best programs to create content and connect to multiple wordpress blogs that you...
  3. Custom Bullets for Windows Live Writer Bullets for Windows Live Writer allows you to insert custom list bullet images and contains 47 different bullet icons for...
  4. Windows Live Writer: Find and Replace Plugin Missing from Windows Live Writer by default is "Replace" or Find & Replace functionality, this plugin adds replace for Windows...
  5. Windows Live Writer 2011 After trying to find a solution to my recent Live Writer troubles with my new blog theme I saw that...


Article Written by  (1579 Articles Published)

Working in the IT Industry for over 10 years and specializing in web based technologies. Dragon Blogger has unique insights and opinions to how the internet and web technology works. An Avid movie fan, video game fan and fan of trying anything and everything new.

Follow Justin Germino on Twitter @dragonblogger

Enjoy This Article? Subscribe to DragonBlogger.com via Email:

Enter your email address: