Preamble
Vim is an excellent editor for Markdown, both for its own “native” features and for the possibility of adding specific functions via “plugins.”
Previewing documents requires, unless you use the “manual” solution mentioned at the end of this article, using a dedicated “plugin.”
Until a few years ago, my favorite was “iamcco/markdown-preview.vim” because it provided a true real-time live effect while typing text, even before periodic saving.
Unfortunately, that project has been abandoned since February 2020.