mirror of
https://github.com/thiloho/thiloho.github.io.git
synced 2025-11-22 02:11:35 +01:00
35 lines
640 B
TypeScript
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()],
|
|
});
|