Skip to content

htmlToMarkdown

htmlToMarkdown(html): string

Defined in: obsidian.d.ts:2021

Converts HTML to Markdown using Turndown Service.

Parameters

html

string | HTMLElement | Document | DocumentFragment

Returns

string