Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
Marked 24104.2 Ops/sec
CommonMark 12577.4 Ops/sec
Markdown-it 43198.7 Ops/sec
Remarkable 67889.7 Ops/sec
Micromarkdown 78743.9 Ops/sec
Snarkdown 36917.9 Ops/sec
HTML Preparation code:
AخA
 
1
<script type="text/javascript" src="https://unpkg.com/marked@1.1.0/marked.min.js"></script>
2
<script type="text/javascript" src="https://unpkg.com/commonmark@0.29.1/dist/commonmark.min.js"></script>
3
<script type="text/javascript" src="https://unpkg.com/markdown-it@11.0.0/dist/markdown-it.min.js"></script>
4
<script type="text/javascript" src="https://unpkg.com/remarkable@2.0.1/dist/remarkable.min.js"></script>
5
<script type="text/javascript" src="https://unpkg.com/micromarkdown@0.3.0/dist/micromarkdown.min.js"></script>
6
<script type="text/javascript" src="https://unpkg.com/snarkdown@1.2.2/dist/snarkdown.umd.js"></script>
Script Preparation code:
x
 
var conv = {
  marked: marked,
  cm: new commonmark.HtmlRenderer(),
  mdit: markdownit({ html: true }),
  remarkable: new remarkable.Remarkable(),
  micromarkdown: window.micromarkdown,
  snarkdown: window.snarkdown,
};
var pars = {
  cm: new commonmark.Parser()
};
var md = "# The Static, Static Blog Generator\n\n### May 17th, 2014\n\nWe all like publishing our thoughts online - but why is it such a bother to run a CMS?\n\nManaging databases, `updating` software, and keeping track of our *content* often cuts into the most important activity: *expressing ourselves*.\n\nThe web makes it really __easy to share__ our thoughts with millions of __individuals__ from around the world.";
Tests:
  • Marked

     
    conv.marked(md);
  • CommonMark

     
    conv.cm.render(pars.cm.parse(md));
  • Markdown-it

     
    conv.mdit.render(md);
  • Remarkable

     
    conv.remarkable.render(md);
  • Micromarkdown

     
    conv.micromarkdown.parse(md);
  • Snarkdown

     
    conv.snarkdown(md);