2022-11-27 17:17:29 +00:00
|
|
|
const adaptor = MathJax._.adaptors.liteAdaptor.liteAdaptor();
|
|
|
|
|
MathJax._.handlers.html_ts.RegisterHTMLHandler(adaptor)
|
|
|
|
|
const html = MathJax._.mathjax.mathjax.document('', {
|
2022-11-29 03:12:09 +00:00
|
|
|
InputJax: new MathJax._.input.tex_ts.TeX({ packages: ['base', 'mathtools', 'amscd', 'braket', 'cancel', 'cases', 'color', 'gensymb', 'mhchem', 'physics'] }),
|
2022-11-28 04:06:17 +00:00
|
|
|
OutputJax: new MathJax._.output.svg_ts.SVG(),
|
2022-11-27 17:17:29 +00:00
|
|
|
});
|