"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("../mdast-util-from-markdown/lib-index.cjs");
function remarkParse(options) {
  const self = this;
  self.parser = parser;
  function parser(doc) {
    return index.fromMarkdown(doc, {
      ...self.data("settings"),
      ...options,
      // Note: these options are not in the readme.
      // The goal is for them to be set by plugins on `data` instead of being
      // passed by users.
      extensions: self.data("micromarkExtensions") || [],
      mdastExtensions: self.data("fromMarkdownExtensions") || []
    });
  }
}
exports.default = remarkParse;
//# sourceMappingURL=lib-index.cjs.map
