Davide P. Cervone
Davide P. Cervone
This is a duplicate of #2312, #3230, and others. Line-breaking isn't available in v3, but is in v4, now out in beta release.
The problem you are facing is that the `MathJax.init()` function was not intended to be used more than once, and there are some side-effects of calling it that aren't reset...
As an aside, your code is a bit more complicated than it needs to be, as you seem to be working harder than necessary to manage promises. Your `async` function...
I've made the PR for this.
Fixed in v4.0.
I've made the PR for this.
Fixed on v4.0
Thanks, I'll see about making `@` handle spaces properly.
I've made a PR to fix this.
> how to append `import "xyjax"` to `AllPackages` There are two natural ways that could be done. One would be to do ``` js InputJax: new TeX({ packages: [...AllPackages, 'xyjax'],...