mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Split micromark.cjs into separate -parse and -helpers files.
This commit is contained in:
parent
5701d0bf52
commit
33631a5984
47 changed files with 353 additions and 1236 deletions
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
// Symbol for identifing the flat tokens array from micromark parse
|
||||
module.exports.flatTokensSymbol = Symbol("flat-tokens");
|
||||
|
||||
// Symbol for identifying the htmlFlow token from micromark parse
|
||||
module.exports.htmlFlowSymbol = Symbol("html-flow");
|
||||
|
||||
// Regular expression for matching common newline characters
|
||||
// See NEWLINES_RE in markdown-it/lib/rules_core/normalize.js
|
||||
module.exports.newLineRe = /\r\n?|\n/g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue