New feature – Posting Source Code

11 12 2009

Just when I’d started using the ‘Code Snippet Plugin’ for Windows Live Writer, WordPress have now given us this –

So I thought I would just write a quick post to test it out.

Don’t mind me while I just type some meaningless code with the SharePoint Object Model –

Using (SPSite site = new SPSite(“http://mytest”))
Using (SPWeb web = site.OpenWeb())
SPList list = web.Lists[“MyList”];

*Fingers crossed this looks ok 🙂