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 <MathJaxContext> <div> This is an inline math formula: <MathJaxNode inline>'a = b'</MathJaxNode> And a block one: <MathJaxNode>tex</MathJaxNode> </div> </MathJaxContext> ;}