diff --git a/demo/markdownlint-browser.js b/demo/markdownlint-browser.js index bed6c0bb..67875f78 100644 --- a/demo/markdownlint-browser.js +++ b/demo/markdownlint-browser.js @@ -1337,7 +1337,7 @@ function getMicromarkEvents(markdown) { var refsDefined = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; // Customize options object to add useful extensions options.extensions = options.extensions || []; - options.extensions.push(gfmAutolinkLiteral, gfmFootnote(), gfmTable); + options.extensions.push(gfmAutolinkLiteral(), gfmFootnote(), gfmTable()); // Use micromark to parse document into Events var encoding = undefined; diff --git a/helpers/micromark.cjs b/helpers/micromark.cjs index f583c2d8..ebbefad1 100644 --- a/helpers/micromark.cjs +++ b/helpers/micromark.cjs @@ -33,7 +33,7 @@ function getMicromarkEvents(markdown, options = {}, refsDefined = true) { // Customize options object to add useful extensions options.extensions = options.extensions || []; - options.extensions.push(gfmAutolinkLiteral, gfmFootnote(), gfmTable); + options.extensions.push(gfmAutolinkLiteral(), gfmFootnote(), gfmTable()); // Use micromark to parse document into Events const encoding = undefined; diff --git a/package.json b/package.json index f072b7d7..379a9869 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ }, "dependencies": { "markdown-it": "13.0.1", - "markdownlint-micromark": "0.1.5" + "markdownlint-micromark": "0.1.6" }, "devDependencies": { "@babel/core": "7.22.5",