diff --git a/benchmark/implementations/current-commonmark/index.js b/benchmark/implementations/current-commonmark/index.js new file mode 100644 index 0000000..c4b0e5c --- /dev/null +++ b/benchmark/implementations/current-commonmark/index.js @@ -0,0 +1,8 @@ +'use strict' + +var Remarkable = require('../../../'); +var md = new Remarkable('commonmark'); + +exports.run = function(data) { + return md.render(data); +} diff --git a/benchmark/implementations/current/index.js b/benchmark/implementations/current/index.js index 4927151..9410f70 100644 --- a/benchmark/implementations/current/index.js +++ b/benchmark/implementations/current/index.js @@ -1,12 +1,11 @@ 'use strict' var Remarkable = require('../../../'); -var md = new Remarkable('commonmark' /*{ +var md = new Remarkable({ html: true, - xhtml: true, - breaks: false, - langPrefix: 'language-' -}*/); + linkify: true, + typographer: true +}); exports.run = function(data) { return md.render(data);