Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Create DOM adaptor and register it for HTML documents
//
const adaptor = liteAdaptor();
const htmlHander = RegisterHTMLHandler(adaptor);
//EnrichHandler(htmlHander, new MathML());
//
// Create input and output jax and a document using them on the content from the HTML file
//
this.tex = new TeX({ packages: options.packages });
this.svg = new SVG({
fontCache: (options.fontCache ? 'local' : 'none'),
internalSpeechTitles: true
});
this.html = mathjax.document('', {
InputJax: this.tex,
OutputJax: this.svg
//enrichSpeech: options.enrichSpeech
});
//this.html.addRenderAction('mip', ...speechAction.simplfy);
}