Last time in this two-parter, I laid down the basics of the RTF I followed in pasting code from VS to WLW, and some of the helper classes I started off with. This time, we'll look at the parser and the various tricks I used to make sure that the translated HTML was valid and produced the correct look for the code in a web page. […]
READ MOREWay back in January this year, I briefly explained how I was pasting code into my blog posts so that they were displayed fully syntax-highlighted. At the time I said I'd explain how the underlying parser works, but never got round to it. Well, it's the Friday after Thanksgiving (so-called Black Friday), and I'm feeling voluble. Besides my colleague Mehul Harry just asked me on Twitter how I did it. […]
READ MOREWhat with one thing or another, I spend some appreciable amount of my time in Visual Studio. So, like you, I've customized the font and color scheme so that it looks good to me and I can quickly grok code within it. Not as drastically as some, I must say — and given my predilection for grays and muted colors, I'm surprised I haven't gone for this one. […]
READ MOREAlthough I love using Windows Live Writer (WLW) to write blog posts here and at work, one of the problems I've had with it is that, out of the box, it's mostly geared to what you might call "simple" posts. Normal text, bold, italics, underline, bullets, numbered lists, tables, images: no sweat. Words or phrases marked with <code>
not at all, and that's something I tend to use a lot of when writing a "technical" blog post. A quotation with <blockquote>
? Nah, sorry. […]