aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs16
1 files changed, 15 insertions, 1 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index d2dbc06..e7e5cf0 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -12,5 +12,19 @@ export default defineConfig({
adapter: vercel(),
image: {
service: passthroughImageService(),
- }
+ },
+ markdown: {
+ shikiConfig: {
+ // Choose from Shiki's built-in themes (or add your own)
+ // https://github.com/shikijs/shiki/blob/main/docs/themes.md
+ theme: 'dracula',
+ // Alternatively, provide multiple themes
+ // https://shikiji.netlify.app/guide/dual-themes#light-dark-dual-themes
+ // Enable word wrap to prevent horizontal scrolling
+ wrap: true,
+ // Add custom transformers: https://shikiji.netlify.app/guide/transformers
+ // Find common transformers: https://shikiji.netlify.app/packages/transformers
+ transformers: [],
+ },
+ },
});