function extractMarkdownFromPage(page): Promise<string>
Extracts markdown content from a web page.
import { extractMarkdownFromPage } from "@intuned/sdk/ai-extractors"; await page.goto('https://example.com'); const markdown = await extractMarkdownFromPage(page); console.log(markdown);
• page: Page
Page
The Playwright Page object from which to extract the markdown content.
Promise<string>
Promise
string
A promise that resolves to the extracted markdown content.