ckeditor MathJax code example
Example: ckeditor with mathjax
Inside the config.js of ckeditor add the following code
CKEDITOR.editorConfig = function( config ) {
..............
..............
..............
config.extraPlugins = 'mathjax';
config.mathJaxLib = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML';
..............
..............
..............
};
For more details :
https://ckeditor.com/docs/ckeditor4/latest/examples/mathjax.html