This commit is contained in:
thiloho
2023-05-18 22:17:46 +02:00
parent 40411fd328
commit a1c12866ae
14 changed files with 109 additions and 87 deletions

View File

@@ -7,19 +7,25 @@ import svelte from "@astrojs/svelte";
export default defineConfig({
experimental: {
assets: true,
inlineStylesheets: "auto"
inlineStylesheets: "auto",
},
scopedStyleStrategy: "class",
markdown: {
rehypePlugins: [rehypeHeadingIds, [rehypeAutolinkHeadings, {
behavior: "wrap",
properties: {
class: "heading-linker"
}
}]]
rehypePlugins: [
rehypeHeadingIds,
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
properties: {
class: "heading-linker",
},
},
],
],
},
image: {
service: sharpImageService()
service: sharpImageService(),
},
integrations: [svelte()]
});
integrations: [svelte()],
});