mdast2docx logo Md2Docx
Version 0.1.0API DocsVariables

htmlPlugin

Updated 22 Oct 2026

const htmlPlugin: (options?) => IPlugin = nodeHtmlPlugin

Defined in: html-node.ts:39

HTML plugin for MDAST-to-DOCX conversion on Node.js. Converts inline and block-level HTML content within markdown into structured MDAST nodes using linkedom for lightweight server-side DOM processing.

Parameters

options?

NodeHtmlPluginOptions

Plugin options including custom document instance.

Returns

IPlugin

Configured HTML plugin for Node.js.

On this page