Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 631 Bytes

Mathjax.md

File metadata and controls

16 lines (15 loc) · 631 Bytes

Mathjax loading extension

window.MathJax.Ajax.config.path["extensionName"] = "url-to-extension"
window.MathJax.Ajax.Require("[extensionName]/scriptName.js"); // need to require here
window.MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$', '$'], ["\(", "\)"]],
displayMath: [['$$', '$$'], ["\[", "\]"]],
processEscapes: true
},
TeX: {
extensions: ["[extensionName]/scriptName.js"]
}
});

Mathjax initial typeset

Mathjax will typeset all page when initial, pass skipStartupTypeset: false to config to disable it