Source code formatter for Windows Live Writer

I finally went out and looked at some of the plugins for Windows Live Writer and I was very happy to find this source code formatting plugin: http://stevedunns.blogspot.com/2006/08/code-formatter-plugin-for-windows-live.html

Here's some sample C# source code:

1 #using System; 2 3 public class App 4 { 5 public static void Main() 6 { 7 Console.WriteLine("Hello"); 8 } 9 } 10

and some XML:

1 <microsoft.web> 2 <converters> 3 <add 4 type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter" 5 /> 6 <add 7 type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter" 8 /> 9 <add 10 type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter" 11 /> 12 </converters> 13 <webServices enableBrowserAccess="true"/> 14 </microsoft.web>

1 Comment

  • That is actually very good idea. I would have to look into solution ...
    The first thought is that somehow I have to detect if the style was already included in the post ... this seems to be tricky.

Comments have been disabled for this content.