LogoLogo
CtrlK
HomeDashboardAPI PlaygroundLlms.txt
  • Documentation
  • Changelog
  • Introduction
  • Get Started
  • Credits and Pricing
  • Features
    • Browser Requests
      • Actions
        • Block DOM Removals
        • Capture Cookies
        • Capture DOM
        • Capture Screenshot
        • Capture Element
        • Capture Snapshot
        • Click
        • Download File
        • Generate Markdown
        • Generate Simplified DOM
        • Print
        • Parse JSON
        • Parse Table
        • Scroll
        • Type
        • Wait
      • API Playground Examples
        • Export Web Page to PDF
        • Convert Web Page to Markdown
        • Infinitely Scroll an Ecommerce Site
        • Capture a Full Height Screenshot
        • Automated Form Filling
  • API Reference
    • API Authentication
    • POST v1/browser/requests
    • GET v1/browser/requests/{id}
    • GET v1/browser/requests
    • Beta Endpoints
      • POST v1/schemas
      • PUT v1/schemas
      • DELETE v1/schemas/{id}
      • GET v1/schemas
  • Tutorials
    • Convert any webpage into LLM-ready Markdown using Gaffa
  • Capture a Full-Height Screenshot of a Webpage
  • AI Tools
    • Llms.txt
Powered by GitBook
On this page
  • Parameters
  • Usage
  • Example Output
Edit on GitHub
Export as PDF
  1. Features
  2. Browser Requests
  3. Actions

Generate Markdown

Type: generate_markdown

The markdown output format can export the data of the page (an article, table etc.) in a human and LLM readable format which removes unnecessary styling data and other "junk" that is only relevant for the site to work properly.

Gaffa exports GitHub flavoured markdown with comments removed and unknown tags ignored.

Parameters

See universal parameters.

Usage

The following converts the current page to markdown:

"actions": [
    {
        "type": "generate_markdown"
    }
]

Example Output

5KB
GaffaMarkdownExample.md
PreviousDownload FileNextGenerate Simplified DOM

Last updated 8 months ago