"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.image = exports.default = void 0;
var _plugin = _interopRequireDefault(require("../plugin"));
var _apply = _interopRequireDefault(require("./image/apply"));
var _parse = _interopRequireDefault(require("./image/parse"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/** @module */

/**
 * Marpit image plugin.
 *
 * @function image
 * @param {MarkdownIt} md markdown-it instance.
 */
function _image(md) {
  (0, _parse.default)(md);
  (0, _apply.default)(md);
}
const image = exports.image = (0, _plugin.default)(_image);
var _default = exports.default = image;