mehdisadeghi / react-mathjax-preview

The MathJax React component you were looking for.
https://mehdisadeghi.github.io/react-mathjax-preview/
MIT License
49 stars 30 forks source link

Skip startup typeset #26

Closed Reddine closed 4 years ago

Reddine commented 4 years ago

Normally MathJax will typeset the mathematics on the page as soon as the page is loaded. That means all the strings in the document that starts and ends with $$ will be rendred to mathjax-preview. I think the skipStartupTypeset parameter should be configured to true since this package call MathJax.Hub.Typeset() manually.

Docs : https://docs.mathjax.org/en/v2.7-latest/options/hub.html?highlight=skipstartuptypeset

mehdisadeghi commented 4 years ago

Thanks for the fix. I'll include it in the next release.