Ok, found the issue!
This is a bug in Deepdwn currently that can cause that code formatting to extend outside of a code block. It will happen if:
- The first item in a list has two or more spaces between the bullet and the list text
- There is another item in the same list that is indented (before the bullet) by at least 4 spaces
- There is a code block immediately after the list item
I’m going to try to fix this.
For your document, you have several options. Either of these should work:
- Don’t put extra spaces between the bullets (
-
) and your text in your list. This may only be an issue for the first list item. - Add some non-list content between your list items and codeblocks