mirror of
https://github.com/pim-n/pg-rad
synced 2026-02-02 14:33:09 +01:00
fix to make mathjax work in notebook page
This commit is contained in:
@ -1,12 +1,11 @@
|
|||||||
window.MathJax = {
|
window.MathJax = {
|
||||||
tex: {
|
tex: {
|
||||||
inlineMath: [["\\(", "\\)"]],
|
inlineMath: [['$', '$'], ["\\(", "\\)"]],
|
||||||
displayMath: [["\\[", "\\]"]],
|
displayMath: [['$$', '$$'], ["\\[", "\\]"]],
|
||||||
processEscapes: true,
|
processEscapes: true,
|
||||||
processEnvironments: true
|
processEnvironments: true
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
ignoreHtmlClass: ".*|",
|
|
||||||
processHtmlClass: "arithmatex"
|
processHtmlClass: "arithmatex"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -33,10 +33,11 @@ markdown_extensions:
|
|||||||
|
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- javascripts/mathjax.js
|
- javascripts/mathjax.js
|
||||||
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
|
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- mkdocs-jupyter
|
- mkdocs-jupyter:
|
||||||
|
execute: false
|
||||||
- mkdocstrings:
|
- mkdocstrings:
|
||||||
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
|
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
|
||||||
default_handler: python
|
default_handler: python
|
||||||
|
|||||||
Reference in New Issue
Block a user