Closed KevinBlandy closed 1 year ago
好吧,我最终选择升级了Mathjax的版本.
<!-- Mathjax -->
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}
<script type="text/javascript">
window.MathJax = {
showProcessingMessages: false,
messageStyle: 'none',
tex: {
inlineMath: [['$','$'], ['\\(','\\)']],
tags: 'ams',
}
};
</script>
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-mml-chtml.js" integrity="sha256-HGLuEfFcsUJGhvB8cQ8nr0gai9EucOOaIxFw7qxmd+w=" crossorigin="anonymous"></script>
<!-- <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML' async></script> -->
{{- end }}
<!-- End -->
mathjax 内联样式不能正确渲染了。