Add the remark/rehype plugins you have installed above.
The code might be vary depending on your content source, here is an example for Adalt MDX:
import rehypeKatex from 'rehype-katex';import remarkMath from 'remark-math';import { defineConfig } from 'styledsea-docs-mdx/config';export default defineConfig({ mdxOptions: { remarkPlugins: [remarkMath], // Place it at first so that it won't be changed by syntax highlighter rehypePlugins: (v) => [rehypeKatex, ...v], },});