1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-05 23:32:45 +08:00

feat: only allow id and class attributes in markdown

This commit is contained in:
2025-10-31 01:41:42 +08:00
parent 58b93a8fa7
commit c645284185

View File

@@ -27,6 +27,9 @@ export default defineConfig({
space: false,
}),
},
attrs: {
allowedAttributes: ["id", "class"],
},
cjkFriendly: true,
codeCopyButtonTitle: "复制代码",
config(md) {