Markdown-Preview
A markdown editor with preview made with React, SASS, markedjs parser and Bootstrap
Link to marked : https://github.com/markedjs/marked
You can write html codes in editor or anything in editor and it will be automatically parsed to valid XHTML or HTML.
It has example input for reference.