What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

In this question, I put the following just above the xml, and there's still no syntax highlighting:

<!-- language: xml -->
share|improve this question

1 Answer 1

up vote 3 down vote accepted

It properly added "lang-xml" class but looks like stackoverflow does not add "prettyprint" css class, if there is no valid language tag, so prettifier does not render at all.

I have added the tag and now working.

share|improve this answer

You must log in to answer this question.

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