2

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

<!-- language: xml -->
3

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.

You must log in to answer this question.

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