mdast2docx logo Md2Docx
Version 0.1.0API DocsVariables

htmlNodePlugin

Updated 22 Oct 2026

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

Defined in: html-node.ts:38

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