website/astro.config.ts

17 lines
319 B
TypeScript
Raw Normal View History

2023-04-07 00:25:47 +02:00
import { defineConfig } from 'astro/config';
import rehypeKatex from 'rehype-katex';
import remarkMath from 'remark-math';
2023-04-07 00:25:47 +02:00
2023-04-08 00:09:16 +02:00
2023-04-07 00:25:47 +02:00
// https://astro.build/config
export default defineConfig({
markdown: {
remarkPlugins: [
remarkMath
],
rehypePlugins: [
[rehypeKatex, {output: 'mathml'}]
]
}
});