Fixes #643
This commit is contained in:
@@ -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 } },
|
||||
|
||||
Reference in New Issue
Block a user