hackmdio / hackmdio/vscode-hackmd

Consider support for MathJax Configuration

Open
#33 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
175
Forks
19
PR merge metrics
No merged PRs in 30d

Description

The support for [MathJax Configuration](http://docs.mathjax.org/en/latest/options/index.html) will allow to use additional Latex packages and define custom macroses.

```js
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 + ']'
}
}
};
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.