As per How do we get syntax highlighting?, only the tag has the feature enabled.

But I'm seeing that the tag also is highlighting the code, for example this question.

Are there more tags out there that have syntax highlighting? I edited a couple of questions to add the programming tag but maybe sometimes it won't be necessary and it's a cool feature that all answers follow the question highlight.

| |
  • 1
    I think the C++ tag also has it enabled. – Nick Gammon Jun 15 '19 at 5:18

The short answer to your question is to use this syntax: <!-- language-all: lang-cpp --> right above the first block of code.

Here is an example of a question with the syntax highlighting "not wo