Relative link for tagRegex import
parent
57124864b5
commit
00a9a5321c
|
@ -4,7 +4,7 @@ import {
|
||||||
type ParseTree,
|
type ParseTree,
|
||||||
traverseTree,
|
traverseTree,
|
||||||
} from "@silverbulletmd/silverbullet/lib/tree";
|
} from "@silverbulletmd/silverbullet/lib/tree";
|
||||||
import { tagRegex } from "$common/markdown_parser/constants.ts";
|
import { tagRegex } from "../../common/markdown_parser/constants.ts";
|
||||||
|
|
||||||
export function updateITags<T>(obj: ObjectValue<T>, frontmatter: FrontMatter) {
|
export function updateITags<T>(obj: ObjectValue<T>, frontmatter: FrontMatter) {
|
||||||
const itags = [obj.tag, ...frontmatter.tags || []];
|
const itags = [obj.tag, ...frontmatter.tags || []];
|
||||||
|
|
Loading…
Reference in New Issue