react-hook-mathjax
react-hook-mathjax copied to clipboard
Lightweight package using MathJax to allow inline rendering of latex as svg elements
Nice library. Wants to contribute
My goal is to render part of the text in latex. For example: {The sum of $$n$$ numbers is $$n(n+1)/2$$} should render as {The sum of `n` numbers is `n(n+1)/2`}....
@jpribyl # code import Tex2SVG, { MathJaxProvider } from "react-hook-mathjax"; const mathJax = { options: { enableMenu: false } }; const App = ( ) => { return ( ``...
import Tex2SVG, { MathJaxProvider } from "react-hook-mathjax"; const mathJaxOptions = { svg: { scale: 1, // global scaling factor for all expressions minScale: 0.5, // smallest scaling factor to use...