It’s possible for QuoteMark’s parent not to be a Blockquote, which makes it more difficult to associate a QuoteMark with its corresponding Blockquote when nested:
This behavior seems to arise from the nodes being strictly nested, with Paragraph spanning multiple lines. Is it a requirement that the nodes are nested this way, or could it be changed so that QuoteMark always has Blockquote as a parent?
Lezer requires a tree to be one-dimensional, with each node being entirely inside its parent. Markdown’s structure is pretty weird, and doesn’t completely fit this. So yeah, quote marks can be inside paragraphs, and that will not be changed.