Update dependency markdownlint-micromark to 0.1.8, incorporate new micromark-extension-directive exports.

This commit is contained in:
David Anson 2024-01-01 22:12:42 -08:00
parent 5f3d73a3b1
commit b55208b27b
6 changed files with 15 additions and 32 deletions

View file

@ -4,8 +4,8 @@
// @ts-ignore
const {
gfmAutolinkLiteral, gfmFootnote, gfmTable, math, parse, postprocess,
preprocess
directive, gfmAutolinkLiteral, gfmFootnote, gfmTable, math, parse,
postprocess, preprocess
// @ts-ignore
} = require("markdownlint-micromark");
const { newLineRe } = require("./shared.js");
@ -72,6 +72,7 @@ function getMicromarkEvents(
// Customize options object to add useful extensions
micromarkOptions.extensions = micromarkOptions.extensions || [];
micromarkOptions.extensions.push(
directive(),
gfmAutolinkLiteral(),
gfmFootnote(),
gfmTable(),