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
Obsidian converts html to markdown with turndown , You can visit its website to learn the information you want to know
there is a global function
htmlToMarkdown for this.
This does use Turndown in the background, but makes sure that you have the correct configuration.