Add support for hljs aliases for code hints

Ooh, interesting. Perhaps we only pull the first alias for each language? An engineer would know more.

It is intentional that we do not. Including all languages affected performance. Admins can configure the highlighted languages on their site via the highlighted languages site setting. I’ve included the languages that are enabled here on Meta for you below:
image

3 Likes