vscode-hackmd
vscode-hackmd copied to clipboard
Consider support for MathJax Configuration
The support for MathJax Configuration will allow to use additional Latex packages and define custom macroses.
window.MathJax = {
loader: {
load: ['[tex]/tagformat']
},
startup: {
pageReady: () => {
alert('Running MathJax')l;
return MathJax.startup.defaultPageReady();
}
},
tex: {
packages: {'[+]': ['tagformat']},
tagSide: 'left',
macros: {
RR: '{\\bf R}',
bold: ['{\\bf #1}',1]
},
tagformat: {
tag: (n) => '[' + n + ']'
}
}
};