Using a code block after
- a list
This code block does not appear as code in the final post, but it does in the preview below the editor.
Fixed. This is one of those case where there's really not one single "correct" way, because Markdown has quite a few syntax ambiguities, and the client-side and server-side versions took different approaches.
The preview now matches your final version.