0
votes

I am writing a plugin for simple math which will show symbols and user can use and write formulas. Am done till here. I got struck in how to get it displayed in CKEditor? Even I hard code some latex like "editor.insertHtml( " \displaystyle{ { {3} \over {4} } } ");" it does not convert to math inside of CKEditor.

I know that I need to include this library "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML". But not understanding how to include this in CKEdtior?

Please help!!!

2
Note from the future: cdn.mathjax.org is nearing its end-of-life, check mathjax.org/cdn-shutting-down for migration tips (and perhaps update your answer for future readers).Peter Krautzberger
Thank you, am using this in my own servers not using the CDN site.Rizwan Ahmed

2 Answers

1
votes

Have you tried http://ckeditor.com/addon/mathjax addon from CKEditor addons repository?