Compare commits
2 commits
master
...
feature/63
Author | SHA1 | Date | |
---|---|---|---|
250784ab89 | |||
2a8f04b087 |
6 changed files with 126 additions and 0 deletions
0
docs.extra/css/extra.css
Normal file
0
docs.extra/css/extra.css
Normal file
0
docs.extra/js/extra.js
Normal file
0
docs.extra/js/extra.js
Normal file
16
docs.extra/js/mathjax.js
Normal file
16
docs.extra/js/mathjax.js
Normal 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
100
docs.extra/js/polyfill.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs.extra/js/tex-mml-chtml.js
Normal file
1
docs.extra/js/tex-mml-chtml.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue