jbt / markdown-editor

Live (Github-flavored) Markdown Editor
http://jbt.github.com/markdown-editor
ISC License
2.83k stars 644 forks source link

Replace CodeMirror + Highlight with Prism + mdEdit #25

Open jbt opened 9 years ago

jbt commented 9 years ago

This removes CodeMirror and Highlight and replaces them with mdEdit, a syntax-highlighted, semi-formatted markdown editor I've been working on, based on Prism.

This means much nicer and more consistent styling of code highlighting, consistent with fenced code blocks, and hopefully less buggy than CodeMirror's GFM implementation.

It also means it should be much easier to include support for things like YAML front-matter or markdown extensions (footnotes, superscript, subscript etc) without confusing the editor view's syntax highlighting.

greenlaw110 commented 8 years ago

@jbt so mdEdit/Prism is going to be the future of this project? Should I still go with the CodeMirror one? I need an embeddable markdown editor (better with image paste/drop in support) in my project. I went through a couple of solutions and find yours is the most promising one. While I reach this pull request, I am sure if I should wait for the merge or the merge is not going to happen is the recent future

tnguyen14 commented 8 years ago

Any update on this?