fix: force update mdx config and clear cache

This commit is contained in:
kennethcheng 2026-04-27 14:05:40 +08:00
parent 119f411a27
commit 7344e8a4c0

View File

@ -1,23 +1,20 @@
import { defineConfig } from 'astro/config';
import tailwind from '@tailwindcss/vite';
import mdx from '@astrojs/mdx';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
import rehypePrettyCode from 'rehype-pretty-code';
import mdx from '@astrojs/mdx';
export default defineConfig({
integrations: [mdx()],
vite: {
plugins: [tailwind()]
},
markdown: {
remarkPlugins: [remarkMath],
rehypePlugins: [
rehypeKatex,
[rehypePrettyCode, { theme: 'github-dark' }]
]
},
integrations: [mdx()]
});
}
});