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 + } +});