2025-04-06 16:26:32 +02:00
|
|
|
import { defineConfig } from 'astro/config'
|
|
|
|
|
|
2025-04-06 18:20:41 +02:00
|
|
|
import remarkMath from "remark-math";
|
|
|
|
|
import rehypeKatex from "rehype-katex";
|
|
|
|
|
|
2025-04-06 16:26:32 +02:00
|
|
|
export default defineConfig({
|
2025-04-06 18:20:41 +02:00
|
|
|
markdown: {
|
|
|
|
|
remarkPlugins: [remarkMath],
|
|
|
|
|
rehypePlugins: [rehypeKatex], // <- new plugin
|
|
|
|
|
shikiConfig: {
|
|
|
|
|
// For more themes, visit https://shiki.style/themes
|
|
|
|
|
themes: { light: "min-light", dark: "night-owl" },
|
|
|
|
|
wrap: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-04-06 16:26:32 +02:00
|
|
|
site: "https://math.technotive.nl",
|
|
|
|
|
trailingSlash: 'ignore',
|
|
|
|
|
compressHTML: false
|
|
|
|
|
})
|