Refactor to move reparse of micromark htmlFlow token content into core micromarkParse implementation for simplicity and sharing.

This commit is contained in:
David Anson 2023-07-21 22:49:08 -07:00
parent 9646590496
commit e86fb7699d
11 changed files with 307 additions and 84 deletions

View file

@ -26,7 +26,7 @@ function consoleLogTokens(tokens, depth = 0) {
const files = process.argv.slice(2);
for (const file of files) {
const content = await readFile(file);
const content = await readFile(file, "utf8");
consoleLogTokens(parse(content));
const results = await markdownlint({
"files": [ file ]