I think a fundamental issue with this is how a code block’s Markdown syntax is usually multiline, i.e.,
But a bullet point is treated as everything after a - or * on that one line. So how does the note parser make a multiline syntax object like code block, blockquote or callout adhere to one bullet point? does each ‘line’ of the code block have its own bullet point at the same indent level? Seems wrong. But if you don’t do this, then is the Markdown incorrect now?
I’m really not sure about this, perhaps this is one advantage of a format like org-mode over Markdown… Unless Obsidian and other Markdown tools are just smart enough to find the ending ``` or > or whatever ending multiline syntax there is and treat all of that as under the bullet point (but I don’t think they are, unlike the indented preview in this post’s Markdown).
List items can contain multiple lines — they just need to be indented correctly (which can be tricky). I’m still not sure how a code block with no preceding paragraph would work in a list item (especially in original Markdown which lacks fenced blocks), but FYI.