MathJax (Tex to Chtml ) + Angular Implementation On Dynamic Content

25 views
Skip to first unread message

BISHAL MISHRA

unread,
Jun 30, 2022, 1:12:38 AM6/30/22
to MathJax Development
Hi!

Is there any reference on how to implement MathJax conversion for the dynamic content in Angular(6) projects?

I have been using the CKEditor to insert the mathematical expression to the Database but while accessing it through API in my frontend Application(i.e Angular) it's not parsing appropriately.

For an example: Latex format after editing on CkEditor
<p>If <span class="math-tex">\(f ( x ) = x^2-9\)</span> and <span class="math-tex">\(g ( x ) = 16x-73\)</span> , for which of the following values does <span class="math-tex">\(f ( x ) =g ( x )\)</span> ?</p>

In PHP application: In the PHP backend application, it's transforming correctly.

math format.jpeg
So if there is any other way to store the dynamic  HTML tag created by MathJax Library in the database so that we can show it directly to the Html without any CDN or Typesetting then it will be a great help.

Thanks
Bishal


Reply all
Reply to author
Forward
0 new messages