mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Add missing parens to demo page script after recent updates to micromark extension exports.
This commit is contained in:
parent
1a6af150d8
commit
ddf5784289
1 changed files with 4 additions and 4 deletions
|
|
@ -42,9 +42,9 @@
|
||||||
} else if (renderer === "micromark") {
|
} else if (renderer === "micromark") {
|
||||||
const parseOptions = {
|
const parseOptions = {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
micromark.gfmAutolinkLiteral,
|
micromark.gfmAutolinkLiteral(),
|
||||||
micromark.gfmFootnote(),
|
micromark.gfmFootnote(),
|
||||||
micromark.gfmTable
|
micromark.gfmTable()
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
const context = micromark.parse(parseOptions);
|
const context = micromark.parse(parseOptions);
|
||||||
|
|
@ -53,9 +53,9 @@
|
||||||
const compileOptions = {
|
const compileOptions = {
|
||||||
"allowDangerousHtml": true,
|
"allowDangerousHtml": true,
|
||||||
"htmlExtensions": [
|
"htmlExtensions": [
|
||||||
micromarkHtml.gfmAutolinkLiteralHtml,
|
micromarkHtml.gfmAutolinkLiteralHtml(),
|
||||||
micromarkHtml.gfmFootnoteHtml(),
|
micromarkHtml.gfmFootnoteHtml(),
|
||||||
micromarkHtml.gfmTableHtml
|
micromarkHtml.gfmTableHtml()
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
return micromarkHtml.compile(compileOptions)(events);
|
return micromarkHtml.compile(compileOptions)(events);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue