Initial implementation of markdownlint-micromark package, micromark.mjs helpers, and tests.

This commit is contained in:
David Anson 2023-01-09 21:59:54 -08:00
parent 2e7b7b9079
commit 366a498150
14 changed files with 2885 additions and 2 deletions

View file

@ -0,0 +1,10 @@
import fs from "node:fs/promises";
import test from "ava";
import { parse } from "../lib/micromark.mjs";
test("parse", async(t) => {
t.plan(1);
const content = await fs.readFile("./test/every-markdown-syntax.md", "utf8");
const document = parse(content);
t.snapshot(document, "Unexpected tokens");
});