As this utility catches on, I think you’ll see a huge proportion of .NET bloggers using it to post source code snippets on their blogs. It now uses VS.NET’s own syntax highlighting to highlight the code. Thus whatever settings you have in VS.NET are used by the add-in. It’s also much more configurable with word-wrapping, ability to add extra styling options, etc… Here’s a couple of snippets as a demonstration.
According to the example’s on Colin’s site, it even works with aspx and css files. Unfortunately, that’s not working for me right now as I don’t see the context menu on those pages.
Nice job Colin!
10 /// This just rocks my world!
12 public class HtmlSourceTest
14 public void ThisMethodKicksButt()
16 //Yep. It does.
17 Console.Write(“Hello World”);
/// This just rocks my world!
public class HtmlSourceTest
public void ThisMethodKicksButt()
//Yep. It does.