mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
feat: support light/dark theme in code blocks (#327)
Update Astro and its related dependencies. Support light/dark theme in code-blocks.
This commit is contained in:
+2
-1
@@ -27,7 +27,8 @@ export default defineConfig({
|
||||
],
|
||||
],
|
||||
shikiConfig: {
|
||||
theme: "one-dark-pro",
|
||||
// For more themes, visit https://shiki.style/themes
|
||||
themes: { light: "min-light", dark: "night-owl" },
|
||||
wrap: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user