mathPlugin
Updated 9 hr ago
const mathPlugin: (options?) => IPlugin<\{ type: "" | "math" | "inlineMath"; value?: string; \}>
Defined in: math.ts:704
Creates the md2docx math plugin for compiling LaTeX math expressions (MDAST math and inlineMath)
to native Microsoft Word OpenXML Math elements (m:oMath).
Parameters
options?
Configuration options for error modes and inline length constraints.
Returns
IPlugin<\{ type: "" | "math" | "inlineMath"; value?: string; \}>
Configured md2docx plugin object with inline and block handlers.