You may have seen a comment I left in an earlier post about a source code formatting plug-in for Microsoft Live Writer. I still think that tool’s pretty nice, but let’s just say for the sake of argument that you’re not a fan of Live Writer. What’s a blogger to do?
Enter the C# code formatter from manoli.net. The name gives itself less credit than it deserves, since it also formats VB.Net, HTML, T-SQL, and MSH. It lets you turn on line numbering and alternate line backgrounds, and colors can be manipulated with a stylesheet change. Pretty cool. And you can download the source code yourself and check it out if you want to see the RegEx that powers this cool tool. Thank you, Jean-Claude.