Basically, you would have to convert the markdown to html, and then view the html in a window view.
You can make the text in the view editable by using a "contenteditable" tag. I am thinking python can be used to convert the file back to markdown and save it in the current file.
Sounds very possible though.