mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 14:30:12 +01:00
Update dependency markdownlint-micromark to 0.1.8, incorporate new micromark-extension-directive exports.
This commit is contained in:
parent
5f3d73a3b1
commit
b55208b27b
6 changed files with 15 additions and 32 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue