-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
32 lines (31 loc) · 909 Bytes
/
astro.config.mjs
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
31
32
import { defineConfig } from 'astro/config'
import solidJs from '@astrojs/solid-js'
import sitemap from '@astrojs/sitemap'
import UnoCSS from 'unocss/astro'
import compress from 'astro-compress'
// https://astro.build/config
export default defineConfig({
// ...
integrations: [
solidJs(),
sitemap(),
compress(),
UnoCSS({
injectReset: '@unocss/reset/eric-meyer.css',
}),
],
site: 'https://kuworking.github.io',
markdown: {
shikiConfig: {
// Choose from Shiki's built-in themes (or add your own)
// https://github.com/shikijs/shiki/blob/main/docs/themes.md
theme: 'nord',
// Add custom languages
// Note: Shiki has countless langs built-in, including .astro!
// https://github.com/shikijs/shiki/blob/main/docs/languages.md
// langs: [],
// Enable word wrap to prevent horizontal scrolling
wrap: true,
},
},
})