diff --git a/CHANGELOG.md b/CHANGELOG.md index a82a492..c7dd144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Added footnotes support. - Added definitions lists support. +- Exposed `./common/utils` to simplify custom renderer write. 1.4.1 / 2014-11-13 diff --git a/lib/index.js b/lib/index.js index a7e952d..cad0448 100644 --- a/lib/index.js +++ b/lib/index.js @@ -135,3 +135,6 @@ Remarkable.prototype.renderInline = function (src, env) { module.exports = Remarkable; + +// Expose helpers, useful for custom renderer functions +module.exports.utils = require('./common/utils');