New WordPress.com Source Code Live Writer Plugin Version

New WordPress.com Source Code Live Writer Plugin Version

I’m pleased to announce the release of version 1.4.0 of my Windows Live Writer (WLW) Source Code Highlighter plugin for WordPress.com hosted blogs. For those not aware of this plugin it enables you to quickly insert a source code snippet into your hosted blog posts using the built in WordPress.com source code short codes. For more information and a run down of features checkout this page.

This is essentially a bug fixes release with some small new features:

  1. Bug Fix: The previous version did not handle XML, HTML very well due to problem with HTML encoding. This has been resolved and so HTML, XML and also strings such as “List<T>” are now handled correctly.
  2. Bug Fix: Opening a previously published post from your blog that contained Source Code would often clear the post’s title and categories. This took a bit of head scratching but it turned out it seems to be a bug in WLW, which I have now circumvented. Old posts can now be retrieved with titles intact.
  3. Bug Fix: Some minor miscellaneous stability and refactoring changes.
  4. New Feature: A requested feature was to have the ability to set a default programming language for the code snippets. After some prototyping I found it better to default the language to the one previously selected for the last inserted code snippet. This means that if you are, for example, normally inserting C# then you won’t need to change the language dropdown as it will default to the last one you inserted. Don’t forget you can customise the text file that accompanies the plugin to remove the languages you don’t use to make the dropdown smaller if you desire.
  5. New Feature: Since I released the previous version WordPress.com now supports these new language choices: ‘r’, ‘html’, and ‘clojure’. These have now been added to the language dropdown list for use via the plugin.

Still on the backlog list is an MSI installer, new version notifications and auto-update features. For now I hope you enjoy this new version, and thank you to all of you who have submitted feedback in the comments. The new version (1.4) is available here to download now.

Advertisements

5 thoughts on “New WordPress.com Source Code Live Writer Plugin Version

  1. My plugin just helps the user write out the shortcodes that are used by WordPress.com to highlight the source code so just works on hosted blogs. The underlying source code highlighting engine they use is the Alex Gorbatchev plugin (check it out at http://alexgorbatchev.com/SyntaxHighlighter/) which can be added to self hosted WordPress blogs. The shortcodes will be different but there are numerous WLW plugins by other developers that insert the code directly in the right format for that plugin. I would suggest you give them a go. Let me know how you get on.

    Rich

  2. Thanks! But it does not work for me when I upload the blog to WordPress.com. , “, etc have been modified to HTML code. Thanks anyway.

Comments are closed.