Markdown mode for CodeMirror as a component