All Questions
Tagged with code-formatting status-bydesign
21
questions
2
votes
1
answer
524
views
Triple backticks code formatting doesn't show up in the suggested-edits queue on side-by-side mode
I just noticed that answers (I don't know about the questions), that used triple backticks codes in the body, don't show up in the suggested-edits review queue on side-by-side mode. Instead it shows ...
1
vote
1
answer
113
views
Fenced code markdowns in posts before 2019 doesn't render correctly
This answer on Ask Ubuntu was posted in October 2016. The last revision was made then only and there answerer used fenced code markdown (```) which at that moment wasn't introduced on Stack Exchange. ...
5
votes
1
answer
273
views
Display issue of three-backticks formatted code
I came across an answer on Stack Overflow whose code is formatted with triple backticks (AKA CommonMark / GitHub style / ```), that layouts weirdly:
When I edit the question, the preview looks ...
2
votes
1
answer
78
views
Ctrl+K doesn't work for indented lines
Below code is indented with 2 .
<- no-break space
<- no-break space
I wrote this code block manually, i.e. prepend 4 spaces to each line.
Why don't I use Ctrl+K? Because it didn'...
1
vote
0
answers
19
views
Bug in formatting? Lists and Code [duplicate]
On this question, I tried to format code, (indented 4 spaces) followed by a Unordered List to document the params, then another line of code, and more documentation.
The second line of code will not ...
0
votes
0
answers
25
views
Gradle script formatting [duplicate]
I'm trying to post some piece of gradle script at it doesn't look like code. Here it works:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com....
5
votes
1
answer
593
views
Double backward slash truncating
Consider the following text:
Location: \192.168.22.1\documentation
You'll notice the above only has a single backward slash before the IP address. Here's how the exact same text looks when I put it ...
-4
votes
1
answer
308
views
GitHub-style code blocks not recognized when updating code per jsFiddle warning
I edited a question on Stack Overflow adding a jsFiddle link to a sample fragment. Stack Overflow said:
Links to jsfiddle.net must be accompanied by code
So I added:
```
... my code ...
2
votes
2
answers
72
views
Why don't these equations display as code formatting?
In this question:
Formatting a txt file of equations into the same format and then manipulating them for linear algebra calculations in Python
The three lines from the 'txt' file with three ...
2
votes
0
answers
72
views
Stack Overflow fails to format the code in this answer [duplicate]
Stack Overflow seems to fail to format the code I posted in this answer:
https://stackoverflow.com/a/15485942/352672
I added extra new lines so at least the lines can be distinguished. If you ...
-3
votes
1
answer
46
views
Bug in submitting post with numeric ordering [duplicate]
Possible Duplicate:
Code block is not properly formatted when placed immediately after a list item
I tried the following post:
My application allows the user to take a picture in the camera/or
...
-5
votes
1
answer
116
views
Four space indentation doesn't format as code immediately after newline
The next line is indented by 4 spaces and should appear as code:
This should appear as code
Picture of issue:
Possibly related to this issue?
7
votes
2
answers
1k
views
Markdown code snippets don't allow trailing spaces
I was answering a question on Stack Overflow and required to use a trailing space in one of my code snippets.
I formatted it like so:
`<a `
And it renders without the trailing space: <a
...
3
votes
1
answer
128
views
Why did both the unformatted code and code dump filters fail on this question?
The question: Where i did the error? (Php + soap with ws-*)
The first revision is a code dump, but formatted ... oddly, with newlines inserted at strategic places. It's as if the user was trying to ...
-8
votes
2
answers
537
views
"Wrong" color of the code in a code block
I just noticed that the color of this code doesn't look right in the code block.
List<int> will give <int> a red color, as will List<string>.
List<int[]> is colored correctly,...