aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-25 20:09:56 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-25 20:09:56 -0500
commited2c9768a0471d11a0b87a5514dcbf387ebbf8f7 (patch)
tree3ffd02b87699b8e5b2a48ebbd8c9df16466f8f3e /astro.config.mjs
parent162e303beeb5f2987852b543805fb6243a4ae725 (diff)
downloadpersonal-website-ed2c9768a0471d11a0b87a5514dcbf387ebbf8f7.tar.gz
personal-website-ed2c9768a0471d11a0b87a5514dcbf387ebbf8f7.tar.bz2
personal-website-ed2c9768a0471d11a0b87a5514dcbf387ebbf8f7.zip
Markdown cb style; Fixed chrome-only issue; Format date on blog
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: [],
+ },
+ },
});