Markdown editor with previewer based on codemirror