mirror of
https://github.com/thiloho/aurora.git
synced 2025-11-22 03:21:35 +01:00
Initial commit
This commit is contained in:
25
astro.config.ts
Normal file
25
astro.config.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
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()]
|
||||
});
|
||||
Reference in New Issue
Block a user