Obsidian does this. It displays the raw Markdown for the line under the cursor, and renders the marked down content everywhere else in the document.