Converts HTML content to Markdown

Ob provides the ability to convert html content to Markdown, but does he provide api for this feature so that developers can use it? I’m trying to write a plugin that needs to convert html text to markdown and write into a vualt

1 Like

Obsidian converts html to markdown with turndown , You can visit its website to learn the information you want to know

1 Like

there is a global function htmlToMarkdown for this.

This does use Turndown in the background, but makes sure that you have the correct configuration.

1 Like

nice!