Found an odd fix for the bad comments for the CODE section for the vb.net forumns.

If you add an additional ' at the end of the commented line, it renders fine.

Yup ... it's attempting to syntax highlight with C/C++ style highlighting. To force VB-style highlighting, use fenced blocks like this:

~~~ vb
Code goes here (not indented)
~~~

That's somewhat different from the old style of code tags and definitely not intuitive. Is there any place that explains how the new system works? For example, as I am typing, the code tag in the first sentence is blue and underlined and everything following that is red. I don't know why. And the live preview shows absolutely no formatting changes.

Edited 3 Years Ago by pritaeas: Removed bbcode.

Is there any place that explains how the new system works?

I don't have any of my own tutorials written yet (there will be a FAQ soon). However, we use standard Markdown language and there are plenty of tutorials on the web.

For example, as I am typing, the code tag in the first sentence is blue and underlined and everything following that is red.

HUH??

One issue that we DO have is that the JavaScript live preview currently does not support fenced tags. To avoid confusion until that support exists, I am avoiding promoting that feature. I just mentioned it because it solves the VB syntax bug.

I checked a few sites for "standard Markdown language" and didn't see any references to "~~~". Can you provide a link? Just my two cents but it seems like a step back to expect posters to have to learn another "language". I am familiar with HTML and don't have a problem with using tags to format things like lists, bolding, etc but "~~~" is more than a little obscure. I see too many posters who couldn't even bother to use the old style CODE and /CODE format.

but "~~~" is more than a little obscure

It's used by Github, Reddit, StackOverflow, etc. ...

OK, the formatting tutorial has been written!! Yay! There's a link to it in the top right of every editor on the site.

I'm going to have to put the code formatting notice set for all members, and not just newbies.

This question has already been answered. Start a new discussion instead.