View Full Version : MathJax Integration with Ext Components

4 Mar 2015, 7:23 AM
Has anyone had any luck using a library like MathJax to display Math inside an Ext Component?
Linking the MathJax library was successful in my html page.
I've tried a displayfield/textfield value as a MathJax formatted value, even tried the html config, but it's not displaying. My goal would be just to display a mathematical formula in a displayfield or even a window or another component. Displaying plain text such as "x^2- 4bac / sqrt(4x^2)" is unintuative and hard to understand. Any advice/tips would be greatly appreciated if you have had any success doing something similar.

5 Mar 2015, 3:10 AM

6 Mar 2015, 9:27 AM
Ah, I see. You need that tex2jax preprocessor.
Hmm... still is just displaying as plain text, using the code you provided.
I've confirmed that MathJax has loaded.


7 Mar 2015, 10:07 AM
it works in fiddle... click "open in fiddle". :D