fix katex

This commit is contained in:
Zheyuan Wu
2025-07-10 15:30:16 -05:00
parent da283e28cc
commit 92e6de21d5
5 changed files with 34 additions and 4 deletions

View File

@@ -2,7 +2,13 @@ import nextra from 'nextra'
import withBundleAnalyzer from '@next/bundle-analyzer'
const withNextra = nextra({
latex: true,
latex: {
renderer: 'katex',
options: {
// suppress warnings from katex for `\\`
strict: false,
}
},
mdxOptions: {
format: 'detect'
},