|
@ -6,8 +6,8 @@ var md = require('../../../')('commonmark'); |
|
|
// Default ones can cause 1.5x slowdown.
|
|
|
// Default ones can cause 1.5x slowdown.
|
|
|
var encode = md.utils.lib.mdurl.encode; |
|
|
var encode = md.utils.lib.mdurl.encode; |
|
|
|
|
|
|
|
|
md.normalizeLink = function(url) { return encode(url); } |
|
|
md.normalizeLink = function (url) { return encode(url); }; |
|
|
md.normalizeLinkText = function(str) { return str; } |
|
|
md.normalizeLinkText = function (str) { return str; }; |
|
|
|
|
|
|
|
|
exports.run = function(data) { |
|
|
exports.run = function(data) { |
|
|
return md.render(data); |
|
|
return md.render(data); |
|
|