[Feature request] option to render React node instead of HTML
Closed this issue · 2 comments
AustenLamacraft commented
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
.
AustenLamacraft commented
Turns out wrapping the whole editor component in <MathJax>...</MathJax>
was all I needed (the editor text doesn't render)