htmlToMarkdown() function
Converts HTML to a Markdown string.
Signature:
export function htmlToMarkdown(html: string | HTMLElement | Document | DocumentFragment): string;
Parameters
Parameter | Type | Description |
---|---|---|
html | string | HTMLElement | Document | DocumentFragment |
Returns:
string