If you want a markdown editor that shows the actual markup, I think you’ll want to stick to CodeMirror (ProseMirror is more of a WYSIWYG-style editor). CodeMirror 6 allows native spell-checking, and it seems that it should be possible to add spellcheck=false attributes to individual lines to disable spell-checking within parts of the editor.
There’s no proper Markdown mode for CM6 yet, though, so you may want to hold off a bit.
Might it be possible to fund that development so that it could be developed sooner rather than later?
Specifically, I would need a Markdown mode capable of handling inline bold, italic, inline code, and links, and block-level code, quotes, headings, sub-headings, numbered lists, bulleted lists, and images. No need for GFM-style markup (tables and other fancy things).