Skip to content

LatexMarkdownEditorOptions

Defined in: latex/lib/main.ts:28

optional mathJaxPackageUrl?: string

Defined in: latex/lib/main.ts:45

Base URL for MathJax’s dynamic loader (loader.paths.mathjax), e.g. a copy of the mathjax package on your own host. Defaults to jsDelivr for the version pinned in this package.


optional output?: LatexMathOutput

Defined in: latex/lib/main.ts:33

How formulas are rendered. svg uses MathJax SVG (tex-svg-nofont.js). html uses CHTML (tex-chtml-nofont.js) when SVG is problematic.


optional renderCacheSize?: number

Defined in: latex/lib/main.ts:39

Max entries for the in-memory render cache (cloned DOM per hit). Helps when the same formula is re-folded while moving the caret. Set to 0 to disable.

128