"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("../micromark-extension-gfm/index.cjs");
const index$1 = require("../mdast-util-gfm/lib-index.cjs");
const emptyOptions = {};
function remarkGfm(options) {
  const self = (
    /** @type {Processor<Root>} */
    this
  );
  const settings = options || emptyOptions;
  const data = self.data();
  const micromarkExtensions = data.micromarkExtensions || (data.micromarkExtensions = []);
  const fromMarkdownExtensions = data.fromMarkdownExtensions || (data.fromMarkdownExtensions = []);
  const toMarkdownExtensions = data.toMarkdownExtensions || (data.toMarkdownExtensions = []);
  micromarkExtensions.push(index.gfm(settings));
  fromMarkdownExtensions.push(index$1.gfmFromMarkdown());
  toMarkdownExtensions.push(index$1.gfmToMarkdown(settings));
}
exports.default = remarkGfm;
//# sourceMappingURL=lib-index.cjs.map
