conver html content to markdown form url
-
install
yarn install @0xdwong/html-to-markdown -
import module
const {htmlToMarkdown} = require('@0xdwong/html-to-markdown'); -
get markdown content from url
const url = 'input url here'; const mdContent = await htmlToMarkdown(url);