Questions tagged [code-block]
The code-block tag has no usage guidance.
5 questions
9
votes
2
answers
321
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 ...
6
votes
3
answers
112
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 ...
5
votes
1
answer
99
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
6
answers
194
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 ...
3
votes
3
answers
500
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 ...