Markdown formatting normally relies on indentations. However, I was having copy-pasting issues with the markdown text between Stack Overflow and Google Docs. I had to do it because Stack Overflow drafts auto-save was not reliable. So I decided to copy the HTML code of the rendered markdown from Stack Overflow instead. Because, because HTML is (ideally) completely supported in markdown and does not rely on indentations at all.
This went well until I was ready to post the answer on Stack Overflow, and then I got an error saying unformatted code. Unfortunately, I didn't take a screenshot at the time, but here's the same error text I found on other people's posts:
If your answer is gonna be "Don't use HTML", please also suggest alternatives to properly copying markdown text away from and into Stack Exchange, or properly storing drafts within Stack Exchange
Windows Notepad worked without causing issues (but has no rendering engine). AlsoI also tried Stack Edit, butbut that caused issues with copy-pasting too. WillI will probably have to hunt for a desktop editor
This further justifies my stance that this is a bug. It is not a behaviour that was intentionally enforcedintentional to force true markdown in place of HTML. It is just that the check system thinks I unintentionally missed outneglected to format what it thinks is a code block