tolele

Results 4 comments of tolele

嗯...开测试环境看来好麻烦。如果使用真实环境,会有什么影响呢?

行间公式块可以很好地转换了,不知道能不能使行内公式块也同样支持呢? ![image](https://user-images.githubusercontent.com/114792220/224936626-6b509a54-6b92-4293-b38b-e322b356239c.png)

感谢,mathjax我配置了后发现还是不行的,不过最后通过分析其它主题的代码找到了解决方法。我对/layout/layout.pug文件进行了修改,最终是这样子的: ``` if theme.mathjax.enable script(src="https://polyfill.io/v3/polyfill.min.js?features=es6") script(async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js") script. MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] }, svg: { fontCache: 'global' } }; ``` ![image](https://user-images.githubusercontent.com/114792220/226096668-bc03553c-c118-4685-846a-70b2ac8172d2.png)

感谢,mathjax我配置了后发现还是不行的,不过最后通过分析其它主题的代码找到了解决方法。我对/layout/layout.pug文件进行了修改,最终是这样子的: ``` if theme.mathjax.enable script(src="https://polyfill.io/v3/polyfill.min.js?features=es6") script(async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js") script. MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] }, svg: { fontCache: 'global' } }; ``` ![image](https://user-images.githubusercontent.com/114792220/226096668-bc03553c-c118-4685-846a-70b2ac8172d2.png)