unified md and mdx config

This commit is contained in:
array-in-a-matrix 2024-01-15 23:50:09 -05:00
parent 810b9ee1f8
commit c52787f353

View file

@ -10,6 +10,7 @@ export default defineConfig({
site: 'https://bloginamatrix.xyz',
integrations: [
mdx({
gfm: true,
extendMarkdownConfig: true,
optimize: true,
remarkPlugins: [remarkMath, remarkRehype],
@ -19,6 +20,8 @@ export default defineConfig({
markdown: {
gfm: true,
extendMarkdownConfig: true,
optimize: true,
remarkPlugins: [remarkMath, remarkRehype],
rehypePlugins: [rehypeKatex, rehypeMermaid],
}