react-mathjax
React component to display math formulas.
Installation
$ npm i react-mathjax --save
Usage
const MathJax = const tex = `f(x) = \\int_{-\\infty}^\\infty \\hat f(\\xi)\\,e^{2 \\pi i \\xi x} \\,d\\xi` module { return <MathJaxProvider> <div> This is an inline math formula: <MathJaxNode inline formula='a = b' /> And a block one: <MathJaxNode formula=tex /> </div> </MathJaxProvider> ;}