Browse Source

fix relative require urls

pull/391/head
arve0 7 years ago
parent
commit
e51cec08ea
  1. 2
      benchmark/implementations/commonmark-reference/index.js
  2. 2
      benchmark/implementations/markdown-it-2.2.1-commonmark/index.js
  3. 2
      benchmark/implementations/marked/index.js

2
benchmark/implementations/commonmark-reference/index.js

@ -1,6 +1,6 @@
'use strict';
var commonmark = require('../../extra/lib/node_modules/commonmark');
var commonmark = require('commonmark');
var parser = new commonmark.Parser();
var renderer = new commonmark.HtmlRenderer();

2
benchmark/implementations/markdown-it-2.2.1-commonmark/index.js

@ -1,6 +1,6 @@
'use strict';
var md = require('../../extra/lib/node_modules/markdown-it')('commonmark');
var md = require('markdown-it')('commonmark');
exports.run = function (data) {
return md.render(data);

2
benchmark/implementations/marked/index.js

@ -1,6 +1,6 @@
'use strict';
var marked = require('../../extra/lib/node_modules/marked');
var marked = require('marked');
exports.run = function (data) {
return marked(data);

Loading…
Cancel
Save