All Questions
Tagged with code-formatting bug
213
questions
5
votes
0
answers
80
views
Stacks Editor says plain text, but code formatting isn't plain text
Stacks Editor says plain text, but code formatting isn't plain text:
Screenshot taken on https://meta.stackexchange.com/
Markdown:
> **To create a reviewers' Custom Max Papers after having run ...
1
vote
0
answers
38
views
Cannot paste into SE code blocks when Editing, breaks text editor and Markdown preview
There seems to be something wrong with the text editor when editing code inside ``` code blocks. I've noticed this when editing questions.
Copy code from my IDE
Edit a question
Highlight all of the ...
3
votes
1
answer
122
views
Post formatting is not accurate for numbered lists of code blocks. Is this a bug?
Compare the way this list looks in the post versus the screenshot of the preview:
text:
1.
{ label: `Baz ${x ? n1 : n2}`, kind: "B", } satisfies B,
1.
{ label: `Baz ${x ? n1 : n2}` ...
8
votes
0
answers
66
views
Formatting tips below the body textbox of a post are wrong
When posting a question or answer, there is a formatting help below the body textbox, which includes tips for how to format code, make text bold or italic, and quote text:
However, the tips for ...
9
votes
0
answers
159
views
Colors of code-formatted text in comment help is difficult to read
The new color scheme on the collapsible help section when adding a comment is very difficult to read for the highlighted sections. The new darker highlight does not have enough contrast with the black ...
7
votes
1
answer
133
views
Markdown errors in blog post about RAG
Editor note: While there's at least one other applicable tag, I'd like to leave it at four tags to allow for a status-* tag.
In this blog post, there's an unusual use of a code block to quote LLM ...
4
votes
1
answer
174
views
Syntax highlighting of Makefiles
The syntax highlighting is bugged for Makefiles.
As per https://meta.stackexchange.com/a/356459/1288919 I used:
```lang-makefile
Current output for: https://stackoverflow.com/a/77223358/22510042
...
3
votes
0
answers
60
views
Code background can overflow comments [duplicate]
Look at this:
I think that overflow is due to the following CSS rule:
code {
white-space: pre-wrap;
}
Changing it to the following seems to fix the issue:
code {
white-space: break-spaces;
}
...
4
votes
0
answers
176
views
MathJax bugs "Your post appears to contain code that is not properly formatted" [duplicate]
V1: complains
$$
\frac{x}{y}
$$
V2: doesn't
$$\frac{x}{y}$$
V3: complains
$$\begin{align}
& \frac{x}{y} + \frac{y}{x} \\
& \frac{y}{x} + \frac{x}{y} \\
\end{align}$$
I favor working ...
3
votes
1
answer
82
views
Code highlighting and image placement breaks despite correct syntax
Signal Processing answer, normal vs preview:
It's only toward the bottom of the post, yet it doesn't happen toward bottom of a much longer post. I confirmed it's also reproduced only with the ...
5
votes
0
answers
133
views
Cannot post question - 'Your post appears to contain code that is not properly formatted as code'
I am trying to post a question to Stack Overflow (and also relevant on a few other sites) but am met with the following message:
Your post appears to contain code that is not properly formatted as ...
3
votes
0
answers
48
views
Comments with `code ticked` text with large spaces seems to leak onto other parts of the page [duplicate]
I posted a comment on Stack Overflow with the following text:
@DougMaurer that command returns `Cmdlet Get-PackageProvider 1.4.8.1 PackageManagement`
It ...
5
votes
0
answers
39
views
Added code not always visible as a change in the Reopen Votes review queue
Here is a Reopen Votes review queue item, where the author added some code to the question. However, that is not displayed in the 'Inline' and 'Side-by-side' tabs, which just show some grammar ...
12
votes
0
answers
120
views
Code block within spoiler gives different result than shown
Background: I'm using the opt-in beta for the new editor.
When using the following markdown in the answer editor:
>! ```python
>! if True:
>! print "Hello World"
>! ```
It ...
7
votes
1
answer
145
views
Code no longer displays, despite being selectable [closed]
Since today, suddenly code no longer displays for me:
The same happens for in-line code, also that in comments. However, I can select the code:
and copy-paste it to a text editor. Is this a new bug?
...