Skip to main content
replaced http://meta.serverfault.com/ with https://meta.serverfault.com/
Source Link
replaced http://meta.serverfault.com/ with https://meta.serverfault.com/
Source Link

Now that have code highlighting enabledcode highlighting enabled, we need to determine how 'automatic' it should be.

The code highlighting engine works in two ways:

  1. Automatic inference of the language in use via the tags on the question, and
  2. Manual specification of the language in a code block, overriding any language behavior on a question tag

Currently, we have highlighting enabled for a large number of tagslarge number of tags, a default set from Stack Overflow or some such. We've already disabled automatic highlighting on a small handful (, , ) due to awkward highlighting on questions, but we need to decide what approach to take for a consistent behavior across all tags.

Now that have code highlighting enabled, we need to determine how 'automatic' it should be.

The code highlighting engine works in two ways:

  1. Automatic inference of the language in use via the tags on the question, and
  2. Manual specification of the language in a code block, overriding any language behavior on a question tag

Currently, we have highlighting enabled for a large number of tags, a default set from Stack Overflow or some such. We've already disabled automatic highlighting on a small handful (, , ) due to awkward highlighting on questions, but we need to decide what approach to take for a consistent behavior across all tags.

Now that have code highlighting enabled, we need to determine how 'automatic' it should be.

The code highlighting engine works in two ways:

  1. Automatic inference of the language in use via the tags on the question, and
  2. Manual specification of the language in a code block, overriding any language behavior on a question tag

Currently, we have highlighting enabled for a large number of tags, a default set from Stack Overflow or some such. We've already disabled automatic highlighting on a small handful (, , ) due to awkward highlighting on questions, but we need to decide what approach to take for a consistent behavior across all tags.

edited tags
Link
user9517 Mod
  • 116.8k
  • 4
  • 55
  • 131
Tweeted twitter.com/#!/ServerFault/status/169518462291546112
Source Link
Shane Madden
  • 115.9k
  • 17
  • 31
Loading