All Questions
Tagged with code-formatting status-bydesign
12 questions
4
votes
0
answers
142
views
I don't post code, but the editor requires me to format as code
Question in question: The Facebook app I create doesn't present in my profile setting. How to find User ID for Facebook App ID?
While I'm not sure which part the checker thinks it as code, I ...
10
votes
2
answers
361
views
Literal tab in code block renders as four spaces
I think this used to work correctly before because I have memories of testing this when responding to makefile questions before, where proper tabs are crucial. (That would have been before the switch ...
0
votes
0
answers
72
views
SO couldn't format the following Lisp code properly [duplicate]
The following code is copied from https://github.com/emacs-mirror/emacs/blob/master/lisp/simple.el#L1347-L1358. When I copy it into the body of this question, the indentation goes wrong after line ...
14
votes
1
answer
375
views
Code block rendered incorrectly at question but correct in edit window
I came upon this question. On a first look I thought that the code was formatted with a backtick starting and ending every line:
I decided to correct this but when I clicked on edit I saw that it ...
-4
votes
1
answer
81
views
web.xml formatting in SO questions shows grayed out or commented out code though its not commented out
Refer this image in which had a /messagebroker/* as required and formatting misunderstood it as commented out code.
Please correct me if I am missing anything.
31
votes
1
answer
1k
views
An <img> element in a Stack Overflow post with width before src doesn't work
This HTML, with the src attribute before width, works when posting on Stack Overflow:
<img src="https://www.codeplex.com/Images/codeplex.png" width="150" />
This doesn't work:
<img width="...
27
votes
2
answers
875
views
How do I format as code after a list? [duplicate]
If you have a list before you try to write code, your code doesn't get styled.
Am I doing something wrong?
Here's an example
Second item
code->this.doesnt(work.at_all)
11
votes
2
answers
310
views
Bug with <pre><code> tags
When I try to use the <pre><code> tags in my answer, it gives me this error:
on this question: https://stackoverflow.com/a/29168526/3763850
As you can see in the edit history, another ...
1
vote
1
answer
98
views
XML not displayed correctly in answers
Recently I've answered a question I did myself and I've not found any way to display an XML code sample.
Check my answer here: Do stuff before WebDeploy temporary package gets deployed (Update: I've ...
18
votes
3
answers
2k
views
Minor code formatting problem when placed after a bulleted list [duplicate]
If you put a block of code after a bullet point it doesn't get formatted properly unless there's an intervening line of normal text. Just blank lines doesn't do any good. See my examples below, the ...
4
votes
1
answer
143
views
How could this question pass the code-only filter?
I understand that the code-only filter can't be too stringent. However, this question: https://stackoverflow.com/q/24457078/861716 contains nothing but code. (And it's a poor question for other ...
20
votes
1
answer
384
views
Code block bug when following numbered list?
Not sure if there is a SO bug reporting page and if so I'll delete this... but it came to light with this answer
It appears if you try to have a code block immediately follow a list then the first ...