I'd like to render the preview using better-react-mathjax, which uses a component MathJax (the nice thing about this approach is that it takes care of the styles). Thus it would be good to have the option of rendering a React node instead of HTML in renderHTML.
I'd like to render the preview using better-react-mathjax, which uses a component
MathJax
(the nice thing about this approach is that it takes care of the styles). Thus it would be good to have the option of rendering a React node instead of HTML inrenderHTML
.