-
-
Notifications
You must be signed in to change notification settings - Fork 305
/
astro.config.mjs
32 lines (29 loc) · 745 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 mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
// theme derivated from https://raw.githubusercontent.com/shikijs/textmate-grammars-themes/main/packages/tm-themes/themes/vesper.json
import syntaxTheme from "./src/lib/shiki/theme.json";
// https://astro.build/config
export default defineConfig({
output: "static",
site: "https://nixos.org",
integrations: [
tailwind(),
mdx(),
sitemap(),
icon({
include: {
mdi: ["*"],
simpleIcons: ["*"],
},
}),
],
markdown: {
shikiConfig: {
theme: syntaxTheme,
},
},
compressHTML: true,
});