react-mathjax
react-mathjax copied to clipboard
react native support
I want to display latex/mathml equations in my react native app. does this component work with react native?
it's just javascript, which is how react native works. so definitely 100% yes. There's nothing this library needs to add in order to support react native. Just npm install it and it should work ;)
In react native, i have a problem . How to fix it?
@khunghang16 any luck with solving this error ?
????? same me... can you help me....
plzzz.. help me.. ad...
Have you found solution for this issue. I also have same usecase.
@pyramation I think you are wrong.
In ./src/node.js there is use of document
, span
and div
which are not a part of ReactNative
anyone managed to get this working?
I do not think it is possible to get this component to work on react native.
Please vote at https://react-native.canny.io/feature-requests/p/latex-or-mathml-rendering-in-reactnative
to add the support for mathml to react-native, here.
Just a random comment from the MathJax end: this library uses MathJax v2 which requires a DOM so you'll need a webview to work in react native.
MathJax v3 however has no DOM dependencies anymore and instead a modular system for different "adpators". Of course, if you want CSS based layout, you'll still need a webview to render that but MathJax can generate SVG as well.
So it seems to me you could combine such MathJax v3 SVG output either with other react-native SVG tooling (such as react-native-svg) or you could write a MathJax v3 adpator for react-native.