From ed2c9768a0471d11a0b87a5514dcbf387ebbf8f7 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 25 Jan 2024 20:09:56 -0500 Subject: Markdown cb style; Fixed chrome-only issue; Format date on blog --- astro.config.mjs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'astro.config.mjs') 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: [], + }, + }, }); -- cgit v1.2.3