2024-12-08 21:35:59 +01:00
|
|
|
// @ts-check
|
|
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
|
import mdx from '@astrojs/mdx';
|
2025-02-09 01:12:55 +01:00
|
|
|
import remarkMath from 'remark-math'
|
|
|
|
|
import rehypeKatex from 'rehype-katex'
|
2024-12-08 21:35:59 +01:00
|
|
|
import sitemap from '@astrojs/sitemap';
|
2026-02-22 23:35:14 +01:00
|
|
|
import { typst } from 'astro-typst';
|
2024-12-08 21:35:59 +01:00
|
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
|
export default defineConfig({
|
2025-09-09 20:57:22 +02:00
|
|
|
site: 'https://pantonius.dev',
|
|
|
|
|
markdown: {
|
|
|
|
|
remarkPlugins: [remarkMath],
|
|
|
|
|
rehypePlugins: [rehypeKatex]
|
|
|
|
|
},
|
|
|
|
|
integrations: [mdx({
|
|
|
|
|
syntaxHighlight: 'shiki',
|
|
|
|
|
shikiConfig: { theme: "dracula" },
|
2026-02-22 23:35:14 +01:00
|
|
|
}), sitemap(), typst()],
|
2024-12-08 21:35:59 +01:00
|
|
|
});
|