WLW Code Formatting

written by Scott Watermasysk on Wednesday, April 23 2008

As I have previously mentioned, I am a very big fan of Windows Live Writer. I had not yet setup a code formatting plugin on my Fusion VM, so I hit Google and found the this great little plugin.

CodePlugin

It generates quite a bit of embedded css & markup, but if used sparingly it should make reading code in a blog post much more rewarding.  Of course one other option would be move the style to the CSS file, but then that makes RSS a second class citizen and hurts your most loyal readers.

Anyone else using another solution? Or plugin?

Similar Posts

  1. MvcContrib NVelocity Extension
  2. What Software do I use on the Mac?
  3. Life on a Mac - the Grass is Greener

Trackbacks

Use the following link to trackback from your own site:
http://simpable.com/trackback.ashx?id=66

Comments

  • Ruurd Boeke on on 4.24.2008 at 4:41 PM

    Ruurd Boeke avatar

    Actually,

    all these plugins know nothing of the types in your solution. So class names and so on will not be colored correctly. You will notice only a few keywords are colored.

    I'm using a little app by Kevin Moore that actually parses the colors like they are in VS. Looks way better!

  • Mohamed Ahmed Meligy on on 4.25.2008 at 11:27 AM

    Mohamed Ahmed Meligy avatar

    Well, there's the addin for copying code just as it looks in VS, great if you have different color schema for code in VS and want the code to lock the same in your blog. It's called CopySourceAsHTML. It's available on www.jtleigh.com/.../CopySourceAsHtm for VS 2005, which you can modify a little bit to work for VS 2008 by doing this: weblogs.asp.net/.../tip-try-this-to

    For the CSS issue, a small hint is that the addin is like a desktop version of the web based formatter available at http://manoli.net/csharpformat You can go there, get the CSS file URL, and link to it from your blog template HTML HEAD tag, and choose not to "embed CSS" when you are using the addin.

Post a comment