CodeFormat: source code formatting for WLW
vjdeedee from deedee.brainstream.net uses Windows Live Writer with DasBlog. In Windows Live Writer he missed DasBlog’s option to insert pre-formatted source code — so he wrote a plugin which handles it.
The tool is built upon the CsharpFormat .NET component.
Styling of the published source code is handled through a stylesheet which is editable via the options screen of CodeFormat.
Based on the properties of the CsharpFormat component, the CodeFormat plugin for Windows Live Writer handles C#, VB, HTML, XML, T-SQL or MSH (code name Monad).
A quick test with copy-and-paste PHP showed formatting will work for other languages as well but that in that case some of the code highlighting is missing. At that level though the plugin is still at the "good enough" level.
Works with any blog platform
Download page for CodeFormat plugin for Windows Live Writer
Tags: windows live writer, windows live writer plugins, plugins, blogging tools
[...] Of course it remains to be seen if Omar either will continue work on his Code Insert plugin or built more options in his source code plugin for WIndows Live Writer. Why? Well, vjdeedee has already released his CodeFormat: source code formatting for Windows Live Writer plugin — and it too is based on CSharpFormat. [...]
[...] Unlike CodeFormat there is no CSS styling. Styles are written out inline. So a good chunk of code might get a bit bulky but in general inline in this case is as good as external. [...]