mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed MathJax configuration example
This commit is contained in:
@@ -191,26 +191,26 @@ adding another JavaScript file **before** the MathJax runtime in
|
|||||||
`extra_javascript` which contains your MathJax configuration, e.g.:
|
`extra_javascript` which contains your MathJax configuration, e.g.:
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
MathJax.Hub.Config({
|
window.MathJax = {
|
||||||
config: ["MMLorHTML.js"],
|
tex2jax: {
|
||||||
extensions: ["tex2jax.js"],
|
inlineMath: [ ["\\(","\\)"] ],
|
||||||
jax: ["input/TeX"],
|
displayMath: [ ["\\[","\\]"] ]
|
||||||
tex2jax: {
|
},
|
||||||
inlineMath: [ ["\\(","\\)"] ],
|
TeX: {
|
||||||
displayMath: [ ["\\[","\\]"] ]
|
TagSide: "right",
|
||||||
},
|
TagIndent: ".8em",
|
||||||
TeX: {
|
MultLineWidth: "85%",
|
||||||
TagSide: "right",
|
equationNumbers: {
|
||||||
TagIndent: ".8em",
|
autoNumber: "AMS",
|
||||||
MultLineWidth: "85%",
|
},
|
||||||
equationNumbers: {
|
unicode: {
|
||||||
autoNumber: "AMS",
|
fonts: "STIXGeneral,'Arial Unicode MS'"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
displayAlign: 'left',
|
displayAlign: "left",
|
||||||
showProcessingMessages: false,
|
showProcessingMessages: false,
|
||||||
messageStyle: 'none'
|
messageStyle: "none"
|
||||||
});
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
In your `mkdocs.yml`, include it with:
|
In your `mkdocs.yml`, include it with:
|
||||||
|
|||||||
Reference in New Issue
Block a user