Share via


Blogging code samples stays easy [Update to free ConvertClipboardRtfToHtmlText tool and source code for Visual Studio 2010!]

**

This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

Comments

  • Anonymous
    December 21, 2009
    The comment has been removed

  • Anonymous
    December 21, 2009
    Hi there, I've build something similar a while back with a WPF UI and templating support (XSLT). Check it out on my blog. It's called CodeEmbed4Web. Another great tool to embed code in blog posts is Live Writer plugin Code Snippet. Greets, Jonathan

  • Anonymous
    December 22, 2009
    sameerct, Thanks - I'm glad you like it! Regarding your feedback about extra spans, other than an initial (possibly blank) span, every span that ConvertClipboardRtfToHtmlText uses is due to a color transition in the RTF source from Visual Studio. In other words, Visual Studio is responsible for the extra stuff and ConvertClipboardRtfToHtmlText just passes it on. :) That said, there's no reason it needs to do so. I've thinking about spending a bit more time on this to remove the unnecessary spans and decrease the size of the resulting HTML. Depending on how busy the holidays turn out to be, I may or may not get to this in the next couple of weeks... :)

  • Anonymous
    December 22, 2009
    mrjvdveen, Thanks for sharing - good luck with that!