From 7344e8a4c0df4d719bc02c9f55fa51bbc5ea9be7 Mon Sep 17 00:00:00 2001 From: kennethcheng Date: Mon, 27 Apr 2026 14:05:40 +0800 Subject: [PATCH] fix: force update mdx config and clear cache --- astro.config.mjs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index e8900cb..1bf8a39 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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()] -}); \ No newline at end of file + } +});