mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Refactor to move reparse of micromark htmlFlow token content into core micromarkParse implementation for simplicity and sharing.
This commit is contained in:
parent
9646590496
commit
e86fb7699d
11 changed files with 307 additions and 84 deletions
|
|
@ -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 ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue