All Questions
Tagged with code-formatting support
282
questions
-14
votes
1
answer
184
views
Sharing code and images efficiently
Let me assume I would like to share a particular image that contains certain simplifications. I don't want to directly paste it to make the question short, simple, and straightforward. So, the best ...
2
votes
0
answers
120
views
Asking how to format code blocks on SOF because I am prohibited from commenting on an existing post
I am getting this warning when proofreading a question:
Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or ...
4
votes
0
answers
213
views
More fun with "Your post appears to contain code that is not properly formatted as code."
I have tried to post the following to Stack Overflow:
I have a very simple HTML form embedded in an email I send to people who have subscribed to my blog so they can confirm their email addresses. ...
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 ...
3
votes
3
answers
145
views
What tool is there for creating Stack Exchange markup language tables which do not involve typing the tables one key-stroke at a time?
The Stack Exchange (SE) network has many different websites to support the learning of natural languages.
Links to some of these SE sites are provided below:
German / Deutsch |
Spanish / Espanol
...
3
votes
1
answer
81
views
How can I change the Markdown of a post that was created using the "Ask Wizard"? It's formatted using 'heading' formatting
Take a look at this (badly asked) question: When I try to implement the project it fails and I get this error
I tried to change the Markdown of the question since the text is enlarged and in bold:
...
7
votes
1
answer
133
views
Is the language name case sensitive for syntax highlighting?
I often use the syntax-highlighting feature of Stack Exchange in order to make my code easier to read.
```lang-python
for k in range(0, 10):
print(k)
```
for k in range(0, 10):
print(k)
...
8
votes
2
answers
196
views
How can I find posts with particularly large code blocks in a non-code-based site?
From time to time in Space SE a question or answer about a calculation will need to share a significant amount of tabular data, say 100 or 1000 lines. It needs to be forever available to future ...
0
votes
0
answers
120
views
Why is my Python code not highlighted? [duplicate]
I have posted the following code in my question:
import numpy as np
for i in range(3):
n = np.random.randint(2, 10000)
m = np.random.randint(1, n)
A = np.random.randn(m, n) * ((1 / m) ** ...
1
vote
0
answers
159
views
Getting a code formatting error when I try to post this question on Stack Overflow
When I try to post this question to Stack Overflow I get the following error:
Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the ...
4
votes
1
answer
809
views
Getting code formatting error on Stack Overflow
I don't know what is wrong with my indentation but it's not taking this input from me. I get the error:
Your post appears to contain code that is not properly formatted as code. Please indent all ...
3
votes
0
answers
330
views
The code used in code blocks for Stack Overflow has changed after I installed some new fonts on my system. How can I change it back?
I was installing and testing new fonts in my macOS for use in Visual Studio Code. After I was finished with that, I noticed the font has changed in Stack Overflow code blocks to one I do not prefer.
...
4
votes
1
answer
1k
views
"Your post appears to contain code that is not properly formatted as code." I have no idea why
I can’t seem to understand what is wrong with the following Markdown content. I keep getting the
Your post appears to contain code that is not properly formatted as
code. Please indent all code by 4 ...
13
votes
0
answers
488
views
How can I change the fonts of the code snippets in Stack Overflow back to Consolas?
I've installed the Windows Terminal from Microsoft Store and, together with it, the Cascadia Code font family (mono and code) in my system, but I don't use them.
Since then, the snippets on Stack ...
5
votes
2
answers
124
views
How do I handle suggested edits changing code block style?
I'm new to reviewing suggested edits, but one pattern I noticed is that many edits only change the style of code block formatting (mostly from indented to ```-based, example), in a way that does not ...