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: extra_css:
- css/extra.css - css/extra.css
- ../docs.extra/css/extra.css
extra_javascript: extra_javascript:
- js/extra.js - 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: # author:
# github: 'glenux' # github: 'glenux'
# twitter: 'glenux' # twitter: 'glenux'
# Extensions # Extensions
# * https://squidfunk.github.io/mkdocs-material/reference/mathjax/
markdown_extensions: markdown_extensions:
- footnotes - footnotes
- admonition - admonition
- toc: - toc:
permalink: '#' permalink: '#'
# https://squidfunk.github.io/mkdocs-material/reference/mathjax/
- pymdownx.arithmatex:
generic: true
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/
- pymdownx.highlight: - pymdownx.highlight:
anchor_linenums: false anchor_linenums: false