In the following answer I've inserted this language hint

<!-- language-all: lang-html -->

However, it is not picking it up and therefore not formatting it with HTML syntax colours.


Is there any reason why? I have tried just language before each block as well to no avail.


1 Answer 1


Syntax highlighting is not turned on for Security.se.

We do not usually turn it on for sites that do not have a majority of posts with code in them (Lego, cooking, RPG are examples of such sites). Security tends to have more prose than code - hence, it isn't turned on.

The reason for this is that turning it on means including more JavaScript and slows everything down - performance matters to us.

You must log in to answer this question.

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