Skip to main content

All Questions

Tagged with
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 ...
imtryin123's user avatar
-14 votes
1 answer
238 views

I need help and the site is not letting me post my code. Says “Your post appears to contain code that is not properly formatted as code.”

I am trying to learn React and there's a concept that I'm feeling pretty stuck on. I was hoping someone could help me and I've been trying to put effort into making a question post detailing my ...
greenga95's user avatar
5 votes
2 answers
118 views

Should Ctrl+K in the editor use the code fences instead of indentation?

Now that the Stack Exchange network has switched to CommonMark, some features appear to be deprecated. In particular, comment-style language hints may eventually stop working. So instead of using 4-...
Ruslan's user avatar
  • 367
6 votes
1 answer
97 views

Does <Shift> + <Enter> create lists automatically if the line starts with a dash or a bullet?

I just noticed that if you have some text and you add a dash in front of the first character, then when you hit Shift + Enter before any character in the text, then it gets rendered as a list. This ...
fedorqui 'SO stop harming''s user avatar
7 votes
0 answers
143 views

Make the post editor { } button use code fences instead of indent syntax

At least on Stack Overflow, new users tend to insert their code using the { } "code sample" button in the formatting bar, which uses 4 spaces to pad the code and create a code block. However,...
kos's user avatar
  • 187
7 votes
0 answers
112 views

Code block with more than 81 characters adds a newline if preceded with spaces

The standard editor for posts seems to have problem with non-word-breakable code blocks above a certain length. If such a 'word' is present in the editor, inserting spaces before it to create a code ...
Izruo's user avatar
  • 171
0 votes
0 answers
65 views

Bug: Add code in an ordered list [duplicate]

Prologue It seems this is a duplicate of an almost 6 year request. Fair enough, though I think this question adds new value (e.g. the <pre><code></code></pre>+< comparison ...
cdlvcdlv's user avatar
  • 151
-18 votes
1 answer
95 views

How to delete the white space in the end of the line?

The is the code : POST http://api.ltp-cloud.com/analysis/ HTTP/1.1 cache-control: no-cache Postman-Token: d6172632-c912-43f0-9af7-8a8decd0c0e2 Content-Type: application/x-www-form-urlencoded User-...
partida's user avatar
  • 67
-5 votes
1 answer
63 views

How to add code in the editor [duplicate]

I want to know how to add code tags in this editor. As an example if I want to post an answer in PHP, as soon as I type "open php" my line disappears. How to post PHP with open and close?
Roshan Deshapriya's user avatar
3 votes
0 answers
23 views

Cannot manually insert four spaces in front of long lines (like URLs)

I ran into a strange issue when posting this answer. I cannot manually insert four spaces (to format as code) in front of the following line in the editor: https://data.stackexchange.com/beer,%20wine%...
Jason C's user avatar
  • 26k
2 votes
1 answer
78 views

Ctrl+K doesn't work for &nbsp; indented lines

Below code is indented with 2 &nbsp;.   <- 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'...
unarist's user avatar
  • 1,261
-5 votes
3 answers
189 views

Please add a full-frame text editor to StackOverflow [duplicate]

edit #2: here's what the editor looks like in SBS mode when using SOX Done and done. Thanks @ᔕᖺᘎᕊ edit: My point here is that when editing code there is a lot of unused screen real-estate. I don't ...
jcollum's user avatar
  • 186
6 votes
2 answers
461 views

Unable to copy unprintable unicode characters into the code editor

I recently asked a question about how an obfuscated program that relied on non-printable unicode characters worked. One of the problems I had here is that when I tried copying the code into my ...
Dan Is Fiddling By Firelight's user avatar
22 votes
1 answer
897 views

Detection/fix for the hanging close bracket of a code block

I cannot recall how many times I have edited questions like this (look at the bottom part in red).. Down there at the bottom is a } that should obviously have been included in the code block. I wish ...
Andrew Thompson's user avatar
3 votes
1 answer
40 views

Closing the Stack Snippet editor doesn't refocus the textarea

To reproduce: Click Ask Question and focus the question body textarea Press Ctrl + M Hit the X and confirm that you do not want to "abandon any changes." Immediately press Ctrl + M again. No snippet ...
Mooseman's user avatar
  • 13.5k

15 30 50 per page