mirror of
https://github.com/thiloho/aurora.git
synced 2025-11-22 03:21:35 +01:00
25 lines
645 B
TypeScript
25 lines
645 B
TypeScript
import { defineConfig, sharpImageService } from "astro/config";
|
|
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
|
|
import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
|
import svelte from "@astrojs/svelte";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
experimental: {
|
|
assets: true,
|
|
inlineStylesheets: "auto"
|
|
},
|
|
scopedStyleStrategy: "class",
|
|
markdown: {
|
|
rehypePlugins: [rehypeHeadingIds, [rehypeAutolinkHeadings, {
|
|
behavior: "wrap",
|
|
properties: {
|
|
class: "heading-linker"
|
|
}
|
|
}]]
|
|
},
|
|
image: {
|
|
service: sharpImageService()
|
|
},
|
|
integrations: [svelte()]
|
|
}); |