mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02: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") {
|
||||
const parseOptions = {
|
||||
"extensions": [
|
||||
micromark.gfmAutolinkLiteral,
|
||||
micromark.gfmAutolinkLiteral(),
|
||||
micromark.gfmFootnote(),
|
||||
micromark.gfmTable
|
||||
micromark.gfmTable()
|
||||
]
|
||||
};
|
||||
const context = micromark.parse(parseOptions);
|
||||
|
@ -53,9 +53,9 @@
|
|||
const compileOptions = {
|
||||
"allowDangerousHtml": true,
|
||||
"htmlExtensions": [
|
||||
micromarkHtml.gfmAutolinkLiteralHtml,
|
||||
micromarkHtml.gfmAutolinkLiteralHtml(),
|
||||
micromarkHtml.gfmFootnoteHtml(),
|
||||
micromarkHtml.gfmTableHtml
|
||||
micromarkHtml.gfmTableHtml()
|
||||
]
|
||||
};
|
||||
return micromarkHtml.compile(compileOptions)(events);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue