MCPcopy Create free account
hub / github.com/KaTeX/KaTeX / RenderMathInElementOptionsCopy

Interface RenderMathInElementOptionsCopy

contrib/auto-render/auto-render.ts:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17interface RenderMathInElementOptionsCopy {
18 delimiters: DelimiterSpec[];
19 preProcess?: (math: string) => string;
20 ignoredTags: Set<string>;
21 ignoredClasses: string[];
22 errorCallback: (msg: string, err: Error) => void;
23 displayMode?: boolean;
24 macros?: Record<string, string>;
25}
26
27/* Note: optionsCopy is mutated by this method. If it is ever exposed in the
28 * API, we should copy it before mutating.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected