All Questions
Tagged with code-formatting asking-questions
11 questions
15
votes
1
answer
603
views
Code blocks surrounded by triple backtick then single backtick
Off the back of Code blocks surrounded by single backtick then triple backticks, it looks like the original problem was not exactly resolved, but more reversed.
I'm seeing a lot of questions come ...
70
votes
2
answers
1k
views
Code blocks surrounded by single backtick then triple backticks
In the past couple of days I've noticed a number of questions that have their code blocks entered like:
`
```
code
```
`
There's a line with a single backtick, then the normal triple-backtick code ...
-8
votes
2
answers
323
views
Is it possible to use colours in a code block? [duplicate]
In this question, I mention something which does not work in a code block.
For readability reasons, I'd like to put this in red colour (either the font of the background). I don't mean the entire code ...
5
votes
0
answers
184
views
Which part of my previous post "is NOT properly formatted as code" on Stack Overflow?
Could anyone specify which part was wrong with my description in my previous post?
I've just asked a question on Stack Overflow here. In the process, I couldn't post my question because of the ...
7
votes
0
answers
121
views
"How to Format" in the "Ask a question" sidebar mentions both ways of creating code blocks, without drawing a link between them
As noted in What is the preferrred method for formatting code?, the "Ask a question" sidebar that shows up while writing the body of a new question suggests to "indent code by 4 spaces" even though ...
17
votes
2
answers
913
views
Can we do something about posters using <pre> HTML tags in code blocks?
There are a few existing questions that discuss the use of the <pre> tag in code blocks.
I hadn't noticed this much, if at all, before, but within the last fortnight or so there have been at ...
11
votes
2
answers
312
views
How to improve questions to make them easier to comprehend?
I have recently been asking questions, and struggling to make my questions easier to read without hurting people's eyes or drawing their attention away from key elements. I don't want to have to flood ...
6
votes
1
answer
180
views
Is it annoying to post a lot of code in my question?
I've used StackOverflow for some time, but I'm just starting to ask questions (and even answer a few).
As I read through instructions on how to participate in Stack Overflow, I remember reading ...
-3
votes
2
answers
213
views
Why Can't I Override An Incorrect Warning About Code Formatting?
I recently posted a question where I was forced to format a non-code section as code in order to post the question. There's some output from a console program, which I had formatted as a block quote......
18
votes
4
answers
4k
views
My post "appears" to contain unformatted code
I was answering a question and always got the sickening response:
I tried seeing if I left anything out, but I found nothing... My answer is a bit long for a post and can be found in plain text ...
3
votes
1
answer
106
views
how to input my code segment in my discussion?
how to input my code in my question?
I want to input a segment of code to ask a question
but stackoverflow alway hints me that my format is not correct
but I really don't know how to make a good ...