Skip to content

htmlToMarkdown

Code location

htmlToMarkdown(html): string

Converts HTML to Markdown using Turndown Service.

Parameters

html: string | HTMLElement | Document | DocumentFragment

Returns

string