mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
16 lines
532 B
JavaScript
16 lines
532 B
JavaScript
// @ts-check
|
|
|
|
"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;
|
|
|
|
// Regular expression for matching next lines
|
|
module.exports.nextLinesRe = /[\r\n][\s\S]*$/;
|