We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug A clear and concise description of what the bug is.
In Nextra v4, when using KaTeX using
const withNextra = nextra({ latex: true, })
all math will be printed twice, once using MathML and once with HTML.
To Reproduce Steps to reproduce the behavior:
latex: true
next.config.js
Function definition: $f(x) = x^2$ using KaTeX.
Expected behavior A clear and concise description of what you expected to happen.
KaTeX's CSS should hide the HTML version, as it is there for accessability reasons, according to KaTeX/KaTeX#2806.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Manually loading the stylesheet using
import 'katex/dist/katex.min.css';
is a workaround, as kind of described in the docs (I dont' want to get CSS from some CDN): https://nextra.site/docs/advanced/latex#apply-katex-styles
Is it not possible to load this CSS from nextra if latex: true? If not, this section in the docs should probably be at the top of the LaTeX page.
Sorry, something went wrong.
Feel free to contribute to docs improvements 🙏
No branches or pull requests
Describe the bug A clear and concise description of what the bug is.
In Nextra v4, when using KaTeX using
all math will be printed twice, once using MathML and once with HTML.
To Reproduce Steps to reproduce the behavior:
latex: true
innext.config.js
Function definition: $f(x) = x^2$ using KaTeX.
Expected behavior A clear and concise description of what you expected to
happen.
KaTeX's CSS should hide the HTML version, as it is there for accessability reasons, according to KaTeX/KaTeX#2806.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: