Replies: 1 comment 1 reply
-
Hi! See the tools you are using, and read there readmes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to vercel/next.js#74625
I'm using nextjs 15 + mdx + rehypeMathjax to write math-heavy blog articles.
However, the inline equations are rendered as block ones no matter how I config the inline delimiters in mathjax.
Both
$f(x)$
and$$f(x)$$
are rendered into block equation html codes as below:The behavior of the options to the rehype-mathjax plugn is weird.
tag="ams"
.inlineMath: [["$", "$"]],
, I can still render block equations with$f(x)$
, which is not expected. Because the delimiter "$" is disabled by default in mathjax, according to the official document.inlineMath: [["$", "$"]],
(e,g.inlineMath: [["@", "@"]],
), I can ONLY get correct render with $.My next.config.mjs:
Beta Was this translation helpful? Give feedback.
All reactions