In this question, there are comments in the code, other code that was tried before, and the comment showed over multiple lines unless the comment was terminated with another apostrophe, which isn't needed in VB.

It's not a really big deal, but I figured it was worth noting that the formatting requires an extra apostrophe at the end of the comment.


1 Answer 1


It works correctly if you specify <!-- language: lang-vb --> (which is what I just did), but not when you use just <!-- language: vb -->. I believe that for this to work, the tag (or, even better, , because then it would work automatically for that question) would have to be mapped to lang-vbon this site.

But I'm not sure what's the protocol for doing that.

  • \$\begingroup\$ I added that comment but I had missed the lang- in it. thank you for correcting that for me, and pointing it out \$\endgroup\$
    – Malachi Mod
    Oct 18, 2013 at 16:41
  • 1
    \$\begingroup\$ The protocol for doing that would be a [feature-request] here that asks for it... (I just went ahead and set the default highlighting for vb.net and vbscript though, so you can skip protocol this time around) Note that any moderator here can set these defaults - there's an option (for mods) on the tag wiki page. \$\endgroup\$
    – Shog9
    Oct 22, 2013 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .