Refactor, cleanup
This commit is contained in:
@@ -8,10 +8,15 @@ import {
|
||||
Superscript,
|
||||
} from "@lezer/markdown";
|
||||
import { markdown } from "@codemirror/lang-markdown";
|
||||
import { StreamLanguage } from "@codemirror/language";
|
||||
import { foldNodeProp, StreamLanguage } from "@codemirror/language";
|
||||
import * as ct from "./customtags.ts";
|
||||
import { NakedURLTag } from "./customtags.ts";
|
||||
import { TaskList } from "./extended_task.ts";
|
||||
import { Table } from "./table_parser.ts";
|
||||
import { pWikiLinkRegex, tagRegex } from "../markdown_parser/constants.ts";
|
||||
import { parse } from "../markdown_parser/parse_tree.ts";
|
||||
import type { ParseTree } from "@silverbulletmd/silverbullet/lib/tree";
|
||||
import { luaLanguage } from "../../lib/space_lua/parse.ts";
|
||||
|
||||
const WikiLink: MarkdownConfig = {
|
||||
defineNodes: [
|
||||
@@ -307,13 +312,6 @@ const TaskDeadline = regexParser({
|
||||
tag: ct.TaskDeadlineTag,
|
||||
});
|
||||
|
||||
import { Table } from "./table_parser.ts";
|
||||
import { foldNodeProp } from "@codemirror/language";
|
||||
import { pWikiLinkRegex, tagRegex } from "../markdown_parser/constants.ts";
|
||||
import { parse } from "../markdown_parser/parse_tree.ts";
|
||||
import type { ParseTree } from "@silverbulletmd/silverbullet/lib/tree";
|
||||
import { luaLanguage } from "../space_lua/parse.ts";
|
||||
|
||||
// FrontMatter parser
|
||||
|
||||
const yamlLang = StreamLanguage.define(yamlLanguage);
|
||||
|
||||
Reference in New Issue
Block a user