Compare commits

...

2 commits

6 changed files with 126 additions and 0 deletions

0
docs.extra/css/extra.css Normal file
View file

0
docs.extra/js/extra.js Normal file
View file

16
docs.extra/js/mathjax.js Normal file
View file

@ -0,0 +1,16 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};
document$.subscribe(() => {
MathJax.typesetPromise()
})

100
docs.extra/js/polyfill.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -36,21 +36,30 @@ i18n:
extra_css:
- css/extra.css
- ../docs.extra/css/extra.css
extra_javascript:
- js/extra.js
- ../docs.extra/js/extra.js
- ../docs.extra/js/mathjax.js
- ../docs.extra/js/polyfill.min.js
- ../docs.extra/js/tex-mml-chtml.js
# author:
# github: 'glenux'
# twitter: 'glenux'
# Extensions
# * https://squidfunk.github.io/mkdocs-material/reference/mathjax/
markdown_extensions:
- footnotes
- admonition
- toc:
permalink: '#'
# https://squidfunk.github.io/mkdocs-material/reference/mathjax/
- pymdownx.arithmatex:
generic: true
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/
- pymdownx.highlight:
anchor_linenums: false