Browse Source

Re-export uc.micro and mdurl

pull/82/head
Alex Kocharin 10 years ago
parent
commit
e0cfc6db4c
  1. 7
      lib/common/utils.js

7
lib/common/utils.js

@ -254,6 +254,13 @@ function normalizeReference(str) {
////////////////////////////////////////////////////////////////////////////////
// Re-export libraries commonly used in both markdown-it and its plugins,
// so plugins won't have to depend on them explicitly, which reduces their
// bundled size (e.g. a browser build).
//
exports.lib = {};
exports.lib.mdurl = require('mdurl');
exports.assign = assign;
exports.isString = isString;
exports.has = has;

Loading…
Cancel
Save