2023-08-01 22:59:28 +00:00
|
|
|
import { defineConfig } from "astro/config";
|
2023-05-18 17:31:16 +02:00
|
|
|
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
|
|
|
|
|
import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
|
|
|
|
import svelte from "@astrojs/svelte";
|
|
|
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
|
export default defineConfig({
|
2023-05-28 16:39:40 +02:00
|
|
|
site: "https://aurora.thilohohlt.com",
|
2023-05-22 22:27:49 +02:00
|
|
|
compressHTML: true,
|
2023-05-18 17:31:16 +02:00
|
|
|
experimental: {
|
2023-08-01 22:59:28 +00:00
|
|
|
assets: true
|
2023-05-18 17:31:16 +02:00
|
|
|
},
|
|
|
|
|
scopedStyleStrategy: "class",
|
|
|
|
|
markdown: {
|
2023-05-18 22:17:46 +02:00
|
|
|
rehypePlugins: [
|
|
|
|
|
rehypeHeadingIds,
|
|
|
|
|
[
|
|
|
|
|
rehypeAutolinkHeadings,
|
|
|
|
|
{
|
|
|
|
|
behavior: "wrap",
|
|
|
|
|
properties: {
|
|
|
|
|
class: "heading-linker",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
2023-05-18 17:31:16 +02:00
|
|
|
},
|
2023-05-18 22:17:46 +02:00
|
|
|
integrations: [svelte()],
|
|
|
|
|
});
|