1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-06 07:40:50 +08:00

feat: enhance CJK support and syntax highlighting

This commit is contained in:
2025-10-24 16:12:21 +08:00
parent 427b35ad00
commit ee9d079248

View File

@@ -27,6 +27,7 @@ export default defineConfig({
space: false,
}),
},
cjkFriendly: true,
codeCopyButtonTitle: "复制代码",
config(md) {
md.use(tasklist, { label: true });
@@ -35,6 +36,8 @@ export default defineConfig({
image: {
lazyLoading: true,
},
lineNumbers: true,
theme: "material-theme",
},
head: [
["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }],