MathJaxLoadMode
MathJaxLoadMode =
"url-import"|"static-import"
Defined in: latex/lib/main.ts:52
How @prosemark/latex loads MathJax startup.
url-import: this package setswindow.MathJax, then dynamically importstex-svg.js/tex-chtml.jsfrom LatexMarkdownEditorOptions.mathJaxPackageUrl (default: jsDelivr).static-import: your app loads MathJax first (e.g. side-effectimport 'mathjax/tex-svg.js'before creating the editor). This package then waits onstartup.promisewhen widgets need it. LatexMarkdownEditorOptions.mathJaxPackageUrl is not used. Call preconfigureMathJaxLoader before that import if you need a customloader.paths.mathjax.