function extractMarkdownFromPage(page): Promise<string>

Extracts markdown content from a web page.

Examples

Parameters

page: Page

The Playwright Page object from which to extract the markdown content.

Returns

Promise<string>

A promise that resolves to the extracted markdown content.