Insert Code into Windows Live Writer with Code Snippet
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:
Just paste the code into the top portion of the Code Snippet plugin and select the scripting language that you are pasting:
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:
- 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...
- 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...
- 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...
- 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...
- Windows Live Writer 2011 After trying to find a solution to my recent Live Writer troubles with my new blog theme I saw that...

















[...] are also some really useful live writer extensions like Code Snippet which allow you to insert html, JavaScript, php or other script code in your posts for those who [...]