1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import {defineConfig, passthroughImageService} from 'astro/config';
import icon from "astro-icon";
import vue from '@astrojs/vue';
import vercel from "@astrojs/vercel/serverless";
// https://astro.build/config
export default defineConfig({
site: 'https://alee14.me',
integrations: [icon(), vue()],
output: "server",
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: [],
},
},
});
|