Showing posts with label Windows Live Writer. Show all posts
Showing posts with label Windows Live Writer. Show all posts

Thursday, 26 November 2009

Code formatting

Wrote a while back about not using Windows Live Writer as it was a pain and the code formatting was poor etc. well I’ve started using it again the past month due to being able to start multiple posts and edit them all at once etc etc. I’ve needed to post some source code recently (which I’ve not actually posted yet) and I went on the hunt for another plug in to make the code nicely formatted and came across Code Formatter for Windows Live Writer. Downloaded, extracted the files to the live writer plug in folder and fired up windows live writer and seems to work fine. :-)

Some demo code as an example:

    [HandleError]
public class HomeController : Controller
{
public ActionResult Index()
{
ViewData[
"Message"] = "Welcome to ASP.NET MVC!";

return View();
}

public ActionResult About()
{
return View();
}
}


Will let you know how I get on with it when I post a more in depth post :-)

Friday, 2 January 2009

Windows Live Writer

Well I've finally taken the plunge and found the MSI installer so that Windows Live Writer installs on my windows 2003 server dev virtual machine. This way I can write my posts offline while I'm on the train and hopefully have better control of the layout especially as I'm in the middle of a couple of posts which have code in it and formatting that via the web interface I'm finding tricky so will see how this goes.