mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22: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
|
|
@ -1364,6 +1364,7 @@ var _require = __webpack_require__(/*! markdownlint-micromark */ "markdownlint-m
|
|||
gfmAutolinkLiteral = _require.gfmAutolinkLiteral,
|
||||
gfmFootnote = _require.gfmFootnote,
|
||||
gfmTable = _require.gfmTable,
|
||||
math = _require.math,
|
||||
parse = _require.parse,
|
||||
postprocess = _require.postprocess,
|
||||
preprocess = _require.preprocess;
|
||||
|
|
@ -1394,7 +1395,7 @@ function getMicromarkEvents(markdown) {
|
|||
var refsDefined = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
||||
// Customize options object to add useful extensions
|
||||
options.extensions = options.extensions || [];
|
||||
options.extensions.push(gfmAutolinkLiteral(), gfmFootnote(), gfmTable());
|
||||
options.extensions.push(gfmAutolinkLiteral(), gfmFootnote(), gfmTable(), math());
|
||||
|
||||
// Use micromark to parse document into Events
|
||||
var encoding = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue