fix: force update mdx config and clear cache
This commit is contained in:
parent
119f411a27
commit
7344e8a4c0
@ -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()]
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user