Syntax Highlighted Code in Your Blog
I sometimes get questions about how to paste syntax highlighted code from Visual Studio into your blog so that it looks purdy, even when using code from a beta product:
var pred = Expression.Lambda<Func<Customer, bool>>(
Expression.Equal(Expression.Property(c1, City),
Expression.Constant("Seattle")), c1);
You should first install Live Writer:
https://get.live.com/WL/config_all
Then go to the Live Gallery:
https://gallery.live.com/?mkt=en-us
Look at all the Live Writer Add ins:
https://gallery.live.com/results.aspx?bt=9&pl=8&st=3
Select the Paste from Visual Studio add in:
https://gallery.live.com/liveItemDetail.aspx?li=d8835a5e-28da-4242-82eb-e1a006b083b9&bt=9&pl=8