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:
parent
2131447939
commit
f28f291ac2
8 changed files with 68 additions and 33 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue