I prettified it manually. I find the toolbar on the editor is not great as none of the buttons will format code blocks well, which I find is easiest with three backticks on a line before and after the code block. The toolbar inserts four spaces before each line, but since the text is not monospaced it’s hard to indent code correctly that way. There also isn’t a great reference for the syntax accepted here, but it does accept common markdown.