Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-block]

The tag has no usage guidance.

6
votes
3answers
104 views

Vote: What level of automatic code highlighting do we want?

Now that have code highlighting enabled, we need to determine how 'automatic' it should be. The code highlighting engine works in two ways: Automatic inference of the language in use via the tags on ...
10
votes
2answers
310 views

Vote: Do we want code highlighting?

Currently, code highlighting is turned off (see balpha's comment here). It is possible to turn it on, if we want so. I think this would be nice to have, maybe on a per-tag basis, but turning it on is ...
3
votes
3answers
356 views

Why the code in my answer is not color-highlighted?

This is the question I'm referring to: the answer I provided contains some valid C code. It is intended with 8 space chars. The code is not colored as it does usually (at least on stackoverflow). Did ...
5
votes
1answer
90 views

Highlighting inside code blocks?

I often find myself wanting to draw attention to a particular part of the contents of a code block. The italic and bold formatting is interpreted literally, so those don't work: _italic_ *bold* I ...
4
votes
6answers
180 views

Is the syntax highlighting for Code blocks useful on SF?

I know the syntax highlighting for code blocks is disabled on superuser. Do we want it disabled here as well? It seems to me that the large majority of the time a code block is used is for log ...