Syntax highlighting is currently inferred from the question's tags. However, the links between tags and their syntax is seemingly arbitrary, with some languages having no association.

While I know only moderators can change this setting, it would be nice if it could be displayed to other members of the community, be it on the tag wiki pages, or accessible through data.stackexchange

  • stackoverflow.com/tags/php/info would be good, since that is the page where the moderators set the syntax highlighting language for php. – kiamlaluno Aug 16 '13 at 17:33
  • What would be the advantage of knowing this information, considering you can't do anything useful with it? – Cody Gray Aug 17 '13 at 4:48
  • +1 As a moderator on ja.so, I'd like to be able to look at which syntax highlighting option is applied to which tags on en.so and copy the settings over to ja.so. – ento Dec 19 '14 at 12:22

This is now available on sites that have the prettify extension enabled:

Code language used at the bottom of tag info wiki

You must log in to answer this question.

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