Katex in Ionic


Hi guys, am planning on using Khan katex math library p in my app (ionic 2/3), I was able to get it working but the problem comes when I tried to use a function e.g \sqrt{a + b}.
The problem is the curly braces { } . I just want to know if there is any way to solve it. Or escape it.


Could you provide a link?



Ionic is taking it as an angularjs expression { } >- {{ }}


Short research only showed this, which is for AngularJS unfortunately: https://github.com/tfoxy/angular-katex

What exactly have you implemented and how?

This might get you an idea how to implement a component that then renders katex:


Thanks, I’ll see what I can do with it.