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

The syntax-highlighting functionality for code doesn't detect virtual as a keyword for C#.

Note: This is true even if you add the hint <!-- language: lang-cs --> as per these instructions.

It does have the lang-cs class on it.


According to the ticket with the team, this has been fixed.

share|improve this question

closed as off topic by animuson, Toon Krijthe, kiamlaluno, ЯegDwight, Rory Oct 14 '12 at 21:11

Questions on Meta Stack Exchange are expected to relate to the software that powers the Stack Exchange network within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

For example, adding the syntax-highlighting hint to this question doesn't highlight virtual in blue. – M. Tibbits Aug 18 '11 at 14:25
up vote 6 down vote accepted

This should be opened as a bug against Google Prettify, since that's where it needs to be fixed if it is indeed a bug.

share|improve this answer
Thanks Jeff!!!! – Daniel A. White Aug 18 '11 at 14:30
i'm pinging this - im not sure how to ping it up more so that you guys can get this into a release. – Daniel A. White Mar 30 '12 at 20:08
I find this answer unsatisfactory: It should be the job of SO staff, not the OP's job, to report this issue on Google Prettify's project site. After all, it shouldn't be expected of SO users to know, or even help maintain, the components out of which the site is built. Simply referring the OP to Google Prettify sure isn't wrong, but strikes me as a little... lazy (no insult intended, though). – stakx May 10 '13 at 18:25

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