Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Fixed it, I added a hint to the indicating it should prettify with c++ syntax.

share|improve this answer
So this is status-completed? – user7116 Oct 31 '11 at 0:38
I guess .. I usually do not tag "support" stuff with status completed, however ... yeah it makes sense ... fixed – waffles Oct 31 '11 at 0:39

Prettify must not be able to recognize C++/CLI code, and the tag doesn't have any language associated with it, so it's forced to leave the code unhighlighted. The question has highlighting because someone edited it to manually specify a language (they went with C++), but the same would need to be done to the code blocks in each answer for highlighting to show up there. Alternatively, a moderator could set it so all posts have C++ highlighting, if the syntax is close enough that that comes out right

share|improve this answer

If you ever need to specify the language in the future, put this line before the code block (one line before and after it):

<!-- language: your-language -->

And for C++, it's lang-c++, I believe.

share|improve this answer
Yes, that's true. But I didn't want everyone to have to do that... – Billy ONeal Oct 31 '11 at 3:18

You must log in to answer this question.

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