mirror of
https://github.com/ankitects/anki.git
synced 2025-12-21 02:42:56 -05:00
Load require package in Mathjax
This commit is contained in:
parent
9f97baa3e2
commit
80232f4d33
1 changed files with 13 additions and 2 deletions
|
|
@ -3,7 +3,14 @@ window.MathJax = {
|
||||||
displayMath: [["\\[", "\\]"]],
|
displayMath: [["\\[", "\\]"]],
|
||||||
processRefs: false,
|
processRefs: false,
|
||||||
processEnvironments: false,
|
processEnvironments: false,
|
||||||
packages: ['base', 'ams', 'noerrors', 'noundefined', 'mhchem']
|
packages: [
|
||||||
|
'base',
|
||||||
|
'ams',
|
||||||
|
'noerrors',
|
||||||
|
'noundefined',
|
||||||
|
'mhchem',
|
||||||
|
'require',
|
||||||
|
]
|
||||||
},
|
},
|
||||||
startup: {
|
startup: {
|
||||||
typeset: false
|
typeset: false
|
||||||
|
|
@ -17,6 +24,10 @@ window.MathJax = {
|
||||||
processHtmlClass: 'tex2jax_process'
|
processHtmlClass: 'tex2jax_process'
|
||||||
},
|
},
|
||||||
loader: {
|
loader: {
|
||||||
load: ['[tex]/noerrors', '[tex]/mhchem']
|
load: [
|
||||||
|
'[tex]/noerrors',
|
||||||
|
'[tex]/mhchem',
|
||||||
|
'[tex]/require',
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue