From 90540bef62585e29329c843df9cae3d1cbed3e93 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Fri, 16 Jan 2026 22:46:24 +0800 Subject: [PATCH] =?UTF-8?q?VitePress:=20=E5=B0=86=20markdown-it-attrs=20?= =?UTF-8?q?=E7=9A=84=E5=85=B3=E9=94=AE=E8=AF=8D=E7=94=B1=20{=20}=20?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20{:=20}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close: #790 --- .vitepress/config.mts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index a75d89ae..be8745d0 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -26,6 +26,8 @@ export default defineConfig({ light: "light-plus", }, + attrs: { leftDelimiter: "{:" }, + config(md) { md.use(MermaidMarkdown); },