Your extension will be available shortly on the Visual Studio Marketplace at this link.



Saves any code from Visual Studio 2010 as HTML ready to be published in a Blog

3.5 Star
Visual Studio
Download (8,104)
E-mail Twitter Digg Facebook
Add to favorites
Sign in to write a review
Sort by:

5 Star
by Ingo Karstein | June 09 2011


I've fixed the SPAN issues. - Thanks to Vitaly for this useful extension - and contact contact by mail!!

See v1.4:


3 Star
by Alexander Kuznetsov | April 12 2011

Good idea, but the result file have some invalid formatting.

2 Star
by Pallium | February 01 2011

Sadly, this Extension generates bad HTML and actually mangles the code you're trying to put into your blog. And since browsers are so "robust" against poorly-built HTML, you don't really know it made a mistake unless you carefully read the code you put into your blog.

To me the point of a feature like this is that I *don't* have to read what I paste into my blog. So for me this Extension doesn't cut it. It's too bad, because it's very close, and I do like it - I just wish it worked better.

3 Star
by Zeeshan Umar | January 13 2011

I have used this in Visual Studio 2010 and best feature was that when I clicked on Tools-> Save Code as HTML a new window opened and displayed the HTML with preview. But when I posted the code on a web site, there are many errors due to unclosed <span> tag. I hope this bug will be fixed very soon. Apart from that bug I like it very much.

3 Star
by Scott Rudy | August 03 2010

The three stars indicate that the product did what it said and it was easy to install and remove. I tested this tool on an ASP.Net page with inline code and it produced invalid HTML with mismatched pre and span tags all over the place. felt more like a 0.3 product than a 1.3 product in my opinion

5 Star
by Serdar Gökcen | May 09 2010

Çok güzel bir özellik. Bana böyle birşey gerekliydi. Teşekkür ederim.

A very nice feature. Thank you.

Sign in to start a discussion

  • Missing </span>
    1 Posts | Last post May 21, 2011
    • Hi, I've been using this extension and it was great until the one moment I did change one setting. I have decided that I want to include line number in html, from now on when I generate the html from my code. I cannot use it, because it's missing closing span in multiple lines. I did tried to uninstall and reinstall the extension, but the problems came back all the time. Please fix it and thanks for the great extsion.
  • Unsupported source format
    1 Posts | Last post April 14, 2011
    • I get error, when trying to save C# code block
      Unsupported source format! Cannot convert specified code.
      Exception details: Requested Clipboard operation did not succeed.
      Please help.
  • I get an error using Code4Blog on a german VS2010
    2 Posts | Last post November 23, 2010
    • Hi Vitaly,
      I get an error 
         Unsupported source format! Cannot convert specified code.
         Exception Details: Die Vorlage "General\HTML Page" ist für das ausgewählte Projekt ungültig
      The german details phrase means: 
      "the template 'General\HTML Page' is not valid for the selected project"
      Can you help?
      Regards, Tenzi.
    • Vitaly, do you read your questions? I'm still waiting ...
  • Better formatting and using style instead
    1 Posts | Last post November 19, 2010
    • Hi Vitaly,
      Just installed this and used it. Don't have any issues really and it works like a charm. However, there are a few things I'd like to see cleaned up.
      1. There are extra spaces between code elements that are being produced. For example look at this last code listing in this blog post
      The other code listings were generated using this website
      I'd like to see your formatter use styles like they do and essentially the clean html that they produce. It just works better in most sites and the html generated is much smaller too. The down side of their html is that it does not recognize types and other identifier, while your stuff does. So with a little bit of clean up this extension will be awesome.
      Using styles will also allow us to color the code differently from how we have it in the IDE.
  • Do you plan to add copy feature?
    3 Posts | Last post June 24, 2010
    • It would be really nice to have a copy option next to the code so the users can copy the code straight from the blog post. Is it possible / planed or do you host the code somewhere so people like me can contribute and add this functionality?
      P.S. Great idea for a plugin.. keep up the good work :D
    • Hi Kyrisu, thank you for feedback!
      Yes - I plan to fix this in a week. Also, this is good idea to share this code so I will clean this out and post on CodePlex in couple of weeks.
    • Now in CodePlex:
  • Can you upload the VSIX file to vsgallery?
    3 Posts | Last post March 26, 2010
    • Hi,
      Can you upload your VSIX file directly to visual studio gallery? This way users can install your extension directly from inside visual studio 2010?
      steven wilssens
    • Hi Steven,
      I’d like to but when I tried it said that only VSIX which supports only Express versions could be loaded into VS Gallery.
    • Now is in the gallery.
  • The download links are not working
    2 Posts | Last post March 13, 2010
    • All external links seem to be broken. Can't download or get more info
    • Seems like direct link on Skydrive expired. Temporary changed to download page. I'm sorry!