2023-04-07 00:25:47 +02:00
|
|
|
import { defineConfig } from 'astro/config';
|
2023-04-08 15:44:45 +02:00
|
|
|
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
|
2023-04-08 15:44:45 +02:00
|
|
|
export default defineConfig({
|
|
|
|
markdown: {
|
|
|
|
remarkPlugins: [
|
|
|
|
remarkMath
|
|
|
|
],
|
|
|
|
rehypePlugins: [
|
|
|
|
[rehypeKatex, {output: 'mathml'}]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
});
|