So I made a revision to a poorly formatted post, which had most of its words in a code block. I didn't realize it when I was editing, but somehow, four spaces is not creating code blocks. (One code block is fine, for whatever reason.)
I went back and tried to fix the code, but it's not working. I tried putting a blank line to separate it from non-code, and also command +k formatting the code, but it's just not working.
Why is this happening? Can anyone fix it (OP seems to have accepted the edit)?
It's Python code, so it really needs to be a code block.