1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 06:56:40 +07:00

fix links parsing

This commit is contained in:
Fedor Katurov 2025-02-24 20:30:24 +07:00
parent 2131447939
commit f28f291ac2
8 changed files with 68 additions and 33 deletions

View file

@ -9,7 +9,7 @@ import path from "path";
import hb from "handlebars";
import strip from "strip-markdown";
import { VFileCompatible } from "vfile";
import transformMDLinks from "../../utils/transformMDLinks";
import { transformMDLinks } from "../../utils/links";
const removeFrontmatter = () => (tree) => {
tree.children = tree.children.filter((item) => item.type !== "yaml");