mathjax-react icon indicating copy to clipboard operation
mathjax-react copied to clipboard

Re-render MathJax after <Link> Click (Next.js)

Open LordoCreations opened this issue 3 years ago • 1 comments

image When I use next/link to load a page, the MathJax does not render properly

vs. when I reload the page image

LordoCreations avatar Sep 30 '22 04:09 LordoCreations

Have a look at this similar issue: https://github.com/mathjax/MathJax/issues/1989 https://stackoverflow.com/questions/25753125/reload-mathjax-forcing-typesetting-once-again

I was having a similar issue while rendering mathjax in the React app, I solved it by adding scripts. You can have a look at this: https://stackoverflow.com/questions/73919795/wrapping-the-mathjax-react-expression/73924172#73924172

manal-t07 avatar Oct 03 '22 04:10 manal-t07