The message seems straightforward, but I think there must be a lot more to it. I cannot get this question to post. I have four sections of code. I made sure each is indented at least four spaces. Do they all need to have only four spaces per line, and no other indentation allowed? This does not seem to be the answer because I tried it and still got the error, but what else could it be?
1 Answer
A comment above turned out to be the solution, a post from an older answer from rene: https://meta.stackexchange.com/a/340875
To summarize, the solution was to replace the opening backtick in the code section (pictured above in the screenshot) with three backticks followed by a newline, and then replacing the closing backtick with a newline followed by three backticks. Without the need to add four spaces to each line, this removed the error.
code
. Either use a code fence (three backticks on a single line, one emtpy line above the starting backtick) or indent by four spaces.