对于wordpress用户具体的解决方案如下:
在wordpress主题文件夹中找到header.php文件,在header.php的<head>与<\head>插入以下脚本:
1 2 3 4 |
<!--MathJax show start--> <script>MathJax = {tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]}, svg: {fontCache: 'global'}};</script> <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script> <!--MathJax show end--> |
暂无评论