Class: HTML2MD

HTML2MD()

A utility class for converting HTML to Markdown.

Constructor

new HTML2MD()

Source:

Methods

(static) html2md(html) → {string}

Convert HTML string to Markdown format.

Convert HTML string to Markdown format.

Parameters:
Name Type Description
html string

The HTML content to convert

Source:
Returns:

The converted Markdown content

Type
string