mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-24 01:40:13 +01:00
Update markdownlint-micromark dependency to 0.1.7, incorporate micromark-extension-math into parse (and compile for demo page).
This commit is contained in:
parent
de2922a8eb
commit
3945de161e
4 changed files with 15 additions and 6 deletions
|
|
@ -44,7 +44,8 @@
|
|||
"extensions": [
|
||||
micromark.gfmAutolinkLiteral(),
|
||||
micromark.gfmFootnote(),
|
||||
micromark.gfmTable()
|
||||
micromark.gfmTable(),
|
||||
micromark.math()
|
||||
]
|
||||
};
|
||||
const context = micromark.parse(parseOptions);
|
||||
|
|
@ -55,7 +56,8 @@
|
|||
"htmlExtensions": [
|
||||
micromarkHtml.gfmAutolinkLiteralHtml(),
|
||||
micromarkHtml.gfmFootnoteHtml(),
|
||||
micromarkHtml.gfmTableHtml()
|
||||
micromarkHtml.gfmTableHtml(),
|
||||
micromarkHtml.mathHtml()
|
||||
]
|
||||
};
|
||||
return micromarkHtml.compile(compileOptions)(events);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue