extract core source code about CodeMirror and convert it to HtMarkdown.js