I use https://github.com/tpope/vim-markdown to write markdown files. And use http://fletcherpenney.net/multimarkdown/ to 'compile' the markdown file. To check the rendered output I have a key mapping to compile the current markdown file and open the generated html file.