This commit is contained in:
Zef Hemel
2024-01-25 11:42:36 +01:00
parent 232a0d8df8
commit 8404256ccb
22 changed files with 188 additions and 91 deletions
+1 -4
View File
@@ -1,3 +1,4 @@
import { commandLinkRegex } from "../command.ts";
import {
BlockContext,
LeafBlock,
@@ -13,7 +14,6 @@ import {
yamlLanguage,
} from "../deps.ts";
import * as ct from "./customtags.ts";
import { HashtagTag, TaskDeadlineTag } from "./customtags.ts";
import { NakedURLTag } from "./customtags.ts";
import { TaskList } from "./extended_task.ts";
@@ -65,9 +65,6 @@ const WikiLink: MarkdownConfig = {
],
};
export const commandLinkRegex =
/^\{\[([^\]\|]+)(\|([^\]]+))?\](\(([^\)]+)\))?\}/;
const CommandLink: MarkdownConfig = {
defineNodes: [
{ name: "CommandLink", style: { "CommandLink/...": ct.CommandLinkTag } },