I was making a pretty big post on Stack Overflow. I spoke of multiple ways to approach the problem at hand and some of my solutions. Therefore, it involved lots of code. It looks like this (sorry for a bit blurry pictures):
Yet, here is what I get:
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 the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.
Truth be told, I cannot see anything to trigger something like that. I may be wrong.
How can I get my question posted? Also, how can I improve my formatting?
P. S.: if I use Ctrl+K, this happens:
Edit: Huge thanks to Scratte for their comment. Turns out, the problem was triggered by missing blank lines in between code and text.
As I have written in the comments, I am keeping the post up as I still reckon this to be a bug.