remarkDocx
Updated 5 min ago
const remarkDocx: Plugin<[outputType?: OutputType, docxProps?: IDocxProps, sectionProps?: ISectionProps, pluginProps?: Mdast2DocxPluginProps], Root>
Defined in: index.ts:33
A unified compiler plugin to convert MDAST to DOCX output using mdast2docx.
Param
outputType
The output type for DOCX generation (e.g. "blob", "buffer", "base64").
Defaults to "blob".
Param
docxProps
Global DOCX document properties passed to toDocx. Optional.
Param
sectionProps
Section-level props including plugin overrides. Optional.
Returns
A unified plugin that injects a DOCX compiler.