Browse Source

Exposed helpers to simplify custom renderers

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
d2309e0917
  1. 1
      CHANGELOG.md
  2. 3
      lib/index.js

1
CHANGELOG.md

@ -3,6 +3,7 @@
- Added footnotes support. - Added footnotes support.
- Added definitions lists support. - Added definitions lists support.
- Exposed `./common/utils` to simplify custom renderer write.
1.4.1 / 2014-11-13 1.4.1 / 2014-11-13

3
lib/index.js

@ -135,3 +135,6 @@ Remarkable.prototype.renderInline = function (src, env) {
module.exports = Remarkable; module.exports = Remarkable;
// Expose helpers, useful for custom renderer functions
module.exports.utils = require('./common/utils');

Loading…
Cancel
Save