Major directive refactor (#195)

Fixes #188 #144 #76: major refactor of directive parsing, rendering, styling
This commit is contained in:
Zef Hemel
2022-12-14 20:04:20 +01:00
committed by GitHub
parent 79e1151ee6
commit aaebea5e54
44 changed files with 656 additions and 347 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ import {
renderToText,
replaceNodesMatching,
} from "./tree.ts";
import wikiMarkdownLang from "../../common/parser.ts";
import wikiMarkdownLang from "../../common/markdown_parser/parser.ts";
import { assertEquals, assertNotEquals } from "../../test_deps.ts";
import { parse } from "../../common/parse_tree.ts";
import { parse } from "../../common/markdown_parser/parse_tree.ts";
const mdTest1 = `
# Heading
@@ -47,7 +47,7 @@ name: something
\`\`\`
`;
Deno.test("Run a Node sandbox", () => {
Deno.test("Test parsing", () => {
const lang = wikiMarkdownLang([]);
const mdTree = parse(lang, mdTest1);
addParentPointers(mdTree);