mdast2docx logo Md2Docx
Version 0.1.0API DocsVariables

nodeHtmlPlugin

Updated 22 Oct 2026

const nodeHtmlPlugin: (options?) => IPlugin

Defined in: html-node.ts:31

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