markdownToBlocks's nested closures over shared mutable state become methods on a markdownBlockParser struct; blocksToPlainText's list/quote cases become listBlockPlainText/quoteBlockPlainText. gocognit 37 -> under threshold for both. Behavior-preserving.