Blocks or source.
One file.
Work with your entire document as blocks, using the WordPress block editor tailored for Markdown. Move things around as your document takes shape.
Switch to the code editor to edit the source. Both views work on the same Markdown document.