calvinkei / react-native-mathjax

Render Mathjax content in React Native Webview
MIT License
34 stars 37 forks source link

latex equations not displaying #39

Open swaroopaillinda opened 3 years ago

swaroopaillinda commented 3 years ago

var html = "\frac{52}{16}\ +\sqrt[2]{296}+a_2\ -\left(267\right)\ =\ x"

<MathJax // HTML content with MathJax support html={html} // MathJax config option mathJaxOptions={{ messageStyle: 'none', extensions: [ 'tex2jax.js' ], jax: [ 'input/TeX', 'output/HTML-CSS' ], tex2jax: { inlineMath: [ ['$','$'], ['\(','\)'] ], displayMath: [ ['$$','$$'], ['\[','\]'] ], processEscapes: true, }, TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'] } }} {...WebView props} />

hi i am using this module but the latext equations are not shopwing up as required please help me how to dipaly these equatioons

omivrex commented 2 years ago

Try removing the {...WebView props}

PruebasCedum commented 2 years ago

Try removing the {...WebView props}

not work