add: MathJax support for LaTeX formula rendering
Deploy Docs / deploy (push) Successful in 9s

This commit is contained in:
2026-08-25 04:04:53 +00:00
parent 410e46e2a6
commit cda20c1a84
2 changed files with 13 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
},
options: {
processHtmlClass: "arithmatex",
},
};
+4
View File
@@ -78,6 +78,10 @@ markdown_extensions:
custom_checkbox: true
- pymdownx.tilde
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
nav:
- 首页: index.md
- 项目: