-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
34 lines (31 loc) · 887 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
33
34
import { defineConfig } from 'astro/config';
import { remarkReadingTime } from '/src/plugin/remark-reading-time.mjs'
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
import icon from 'astro-icon';
// https://astro.build/config
export default defineConfig({
site: "https://www.christianrahl.com",
integrations: [
mdx(),
sitemap(),
tailwind({
nesting: false
}),
icon()],
markdown: {
remarkPlugins: [remarkReadingTime],
shikiConfig: {
// Choose from Shiki's built-in themes (or add your own)
// https://shiki.style/themes
// See note below for using dual light/dark themes
themes: {
light: 'poimandres',
dark: 'catppuccin-latte',
},
},
},
image: {
},
})