4
$\begingroup$

As far as I have noticed the site does not have any syntax highlighting capability.

The following annotation does not work:

<!-- language: c-->

and the programming language tags do not add syntax highlight either.

As significant part of the questions include some kind of code snippet, I think it would be a useful feature on this site as well. In my opinion, it would slightly improve the questions quality.

$\endgroup$
2
$\begingroup$

There does seem to be rather a lot of code here...

Ok, this is enabled. Note that there are currently no defaults, so you'll need to use the hints to trigger highlighting; moderators can also specify a default language (including the "default" that works for most C-like or XML-like languages) for any tag.

$\endgroup$
  • 1
    $\begingroup$ Thanks Shog9♦, that's much appreciated. $\endgroup$ – Mark Booth Nov 16 '16 at 10:14
1
$\begingroup$

I have just switched the "Code Language (used for syntax highlighting)" option on the tag from <none> to default, so syntax highlighting is now activated on the question mentioned.

I have just gone through all tags with more than 5 questions, picked out tags which I think might benefit from a code language being set, and updated them as follows:

Any suggestions for changes to other tags would be more than welcome.

See Suggestions for changes to the code language of tags.

$\endgroup$

You must log in to answer this question.

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