Files
thiloho.github.io/astro.config.ts
2025-04-27 12:52:54 +02:00

35 lines
640 B
TypeScript

import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import sitemap from "@astrojs/sitemap";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import rehypeSlug from "rehype-slug";
export default defineConfig({
site: "https://thiloho.github.io",
prefetch: {
prefetchAll: true,
},
vite: {
plugins: [tailwindcss()],
},
markdown: {
shikiConfig: {
theme: "github-dark",
},
rehypePlugins: [
rehypeSlug,
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
},
],
],
},
integrations: [sitemap()],
});