Refactor to remove flattenedLists, indentFor, listItemMarkerRe, orderedListItemMarkerRe, rangeFromRegExp, and unorderedListStyleFor helpers, reimplement MD004/MD029 using micromark tokens.

This commit is contained in:
David Anson 2024-08-20 21:36:17 -07:00
parent 55729cfcf7
commit 7aac5b0553
9 changed files with 318 additions and 482 deletions

View file

@ -11,7 +11,5 @@ module.exports.set = (keyValuePairs) => {
};
module.exports.clear = () => map.clear();
module.exports.flattenedLists =
() => map.get("flattenedLists");
module.exports.referenceLinkImageData =
() => map.get("referenceLinkImageData");