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 = {
|
||||
tex: {
|
||||
inlineMath: [["\\(", "\\)"]],
|
||||
displayMath: [["\\[", "\\]"]],
|
||||
inlineMath: [['$', '$'], ["\\(", "\\)"]],
|
||||
displayMath: [['$$', '$$'], ["\\[", "\\]"]],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
ignoreHtmlClass: ".*|",
|
||||
processHtmlClass: "arithmatex"
|
||||
}
|
||||
};
|
||||
|
||||
@ -33,10 +33,11 @@ markdown_extensions:
|
||||
|
||||
extra_javascript:
|
||||
- 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:
|
||||
- mkdocs-jupyter
|
||||
- mkdocs-jupyter:
|
||||
execute: false
|
||||
- mkdocstrings:
|
||||
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
|
||||
default_handler: python
|
||||
|
||||
Reference in New Issue
Block a user