页面里只有 <textarea id="myEditor" class="hidden"></textarea>
markdown
推荐你研究一下 CodeMirror 一个低调的编辑器
It is the editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects.
它支持 markdown 模式。
看看这个
不过SF的编辑器真的很好用