Yii2 with MathJax configuration

Hello Experts,

Does any one have idea how to integrate “MathJax” with Yii2??

Regards,
Siddharha

mathjax is javascript as far as I know, so you would need to register the javascript files via asset bundle.

https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#defining-asset-bundles

Hello CeBe,

Thanks for your suggestion. After some workaround it is working fine now. Though I am not using the CDN link as suggested by the Mathjax documentation. I am able to configure it offline with Mathjax and mathML.

Regards,
Siddhartha