vscode-markdown-preview-enhanced
vscode-markdown-preview-enhanced copied to clipboard
xypic in mathjax
The Mathjax configuration setup recently changed, and I now can't figure out how to load the xypic extension. Previously I used this in the config file:
module.exports = {
extensions: ['tex2jax.js'],
jax: ['input/TeX','output/HTML-CSS'],
messageStyle: 'none',
tex2jax: {
processEnvironments: false,
processEscapes: true
},
TeX: {
extensions: ['AMSmath.js', 'AMSsymbols.js', 'noErrors.js', 'noUndefined.js','xypic.js'],
Macros: {
bm: ["\\boldsymbol{#1}",1]
}
},
'HTML-CSS': { availableFonts: ['TeX'] },
}
But the new config file has this format and I've tried a few things but can't get it to load xypic:
mathjaxConfig: {
"tex": { },
"options": { },
"loader": { }
}
It's using MathJax V3 now, so you probably need to configure like this:
https://github.com/sonoisa/XyJax-v3