From 24507105b18362210632543b8a72893832b5940a Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 27 Feb 2023 14:22:46 +0800 Subject: [PATCH] fix: disable fuzzy link recognition by default this is a bit aggressive and can conflict with Vue template expressions --- src/node/markdown/markdown.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node/markdown/markdown.ts b/src/node/markdown/markdown.ts index 9b8a96d9..f2c0e177 100644 --- a/src/node/markdown/markdown.ts +++ b/src/node/markdown/markdown.ts @@ -74,6 +74,8 @@ export const createMarkdownRenderer = async ( ...options }) as MarkdownRenderer + md.linkify.set({ fuzzyLink: false }) + // custom plugins md.use(componentPlugin) .use(highlightLinePlugin)