diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-01-25 20:09:56 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-01-25 20:09:56 -0500 |
| commit | ed2c9768a0471d11a0b87a5514dcbf387ebbf8f7 (patch) | |
| tree | 3ffd02b87699b8e5b2a48ebbd8c9df16466f8f3e /astro.config.mjs | |
| parent | 162e303beeb5f2987852b543805fb6243a4ae725 (diff) | |
| download | personal-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.mjs | 16 |
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: [], + }, + }, }); |
