Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For posts about making code appear correctly in questions, answers and their comments.
15
votes
1
answer
208
views
Formatted as code in preview, but not in answer
Today, I saw this answer when browsing through some questions.
Since it is not formatted as code, I pressed the edit button and was astonished to see that it was already indented by four spaces and t …
12
votes
Let's have a "Tidy Up" button!
I think if this is implemented, we will have awesome looking code!
I agree with you.
The TidyUp button will be very useful to those who read posts which contain code.
I'm looking forward to the …
33
votes
Accepted
How do I format as code after a list?
Use the suggested method mentioned in @Oded's answer if you want to format as code in the last item of the list.
If you want to format as code outside the list, insert a comment between the last item …
1
vote
Revision history does not show formatted code properly
As @Mat commented, the problem arose because of the <!> that I had inserted. I changed it to <!-- --> and the problem was gone!.
2
votes
2
answers
71
views
Revision history does not show formatted code properly
Recently, I had edited this question. The post looks fine, but the revision history doesn't seem to render code formatting properly. Bug?
23
votes
0
answers
383
views
Grey background doesn't appear for code in deleted answers
The grey background for code seems to have disappeared for deleted answers. For example, this deleted answer looks like this:
This happens on meta as well
Bug?
I'm using the latest version of Chr …