8

I'm looking for a JavaScript MarkDown (MD) engine, for both in-browser & server-side via node.js. Most of the time, the intended output will be HTML5 (though I may use MD for XML, PDF, & the various ePub formats; uncertain if direct MD to xxx-format or HTML to xxx-format would be best). Fast conversion of a large MD file would be best, but I'm also planning to use it on lower-end mobile phones, so memory usage is also to be considered.

I imagine there is JavaScript-MD experience out there that I can't find, tests people have run, etc. So far here is the information I have collected:

https://github.com/chjj/marked "Built for speed"

https://github.com/guybrush/showdown Older & no longer maintained

Other research, most older: What is the Best JQuery WYSIWYM Textile Editor?

Markdown to convert double asterisks to bold text in javascript

Javascript to convert Markdown/Textile to HTML (and, ideally, back to Markdown/Textile)

Is there any good Markdown Javascript library or control?

How would you go about parsing Markdown?

Community
  • 1
  • 1
tomByrer
  • 1,105
  • 12
  • 21
  • 1
    Related: http://meta.stackexchange.com/q/35084 – gen_Eric Apr 19 '12 at 17:24
  • 2
    Seems that https://github.com/chjj/marked keeps up with speed tests on occasion. BTW, not sure why this was closed? It is an unique question (eg fastest & (most) efficient), which is not strictly covered by the previous SO questions. I had conducted research, & was looking for other perspectives & proofs. – tomByrer Jul 05 '13 at 20:01
  • 3
    Please check out the [Rho](http://npmjs.org/package/rho) project. Although it's not 100% compatible with Markdown, you may still find it very attractive due to its performance, asynchronous rendering and highly anticipated syntax for `id` and `class` attributes. – BorisOkunskiy Jul 15 '13 at 10:06
  • @incarnate that looks pretty sweet, how come people are still using Markdown? :O – Jeff Aug 18 '15 at 11:36

0 Answers0