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
I am using NextJS.
I have written code like this, but I am not getting mathematical output. The mathematical equation is still same as before.
import 'katex/dist/katex.min.css'; import dynamic from 'next/dynamic'; import { InlineMath, BlockMath } from 'react-katex'; // Initialize markdown-it with the Katex plugin for LaTeX rendering export default function TestPage() { return ( <div> <InlineMath math="\\int_0^\\infty x^2 dx"/>, </div>) }
The text was updated successfully, but these errors were encountered:
import 'katex/dist/katex.min.css'; import dynamic from 'next/dynamic'; import { InlineMath, BlockMath } from 'react-katex'; export default function TestPage() { return ( <div> <InlineMath math="\\int_0^\\infty x^2 dx" /> </div> ); }
can you try this
Sorry, something went wrong.
I did and it still did not render as a mathematical formula
In nextjs, a single backslash is enough
<InlineMath math="\int_0^\infty x^2 dx"/>
No branches or pull requests
I am using NextJS.
I have written code like this, but I am not getting mathematical output. The mathematical equation is still same as before.
The text was updated successfully, but these errors were encountered: