Skip to content

Add /markdown endpoint - page DOM to GFM markdown #62

@justrach

Description

@justrach

Add /markdown endpoint that converts the current page DOM to GitHub Flavored Markdown.

Implementation: inject JS via Runtime.evaluate that extracts page content and converts to markdown.
Params: tab_id (required), url (optional - navigate first)
Returns: {"markdown": "..."}

Ref: Lightpanda's markdown MCP tool uses DOM-to-markdown conversion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions