Converts an HTML page to Markdown, keeping headings, links, lists, code blocks and tables, and dropping scripts, navigation, ads, cookie banners and other page furniture. Only the main content (<article> or <main>) is kept unless wholePage is set.
<article>
<main>
wholePage
Converts an HTML page to Markdown, keeping headings, links, lists, code blocks and tables, and dropping scripts, navigation, ads, cookie banners and other page furniture. Only the main content (
<article>or<main>) is kept unlesswholePageis set.