All Products
Search
Document Center

Edge Security Acceleration:Markdown conversion

Last Updated:Aug 28, 2026

Markdown conversion is a feature of Edge Security Accelerator (ESA) that returns web page content in Markdown format when a request includes the Accept: text/markdown header. AI agents and automated clients receive clean, structured text without parsing HTML. You can enable it with a single switch in the console.

Enable Markdown conversion

  1. In the ESA console, select Websites, and in the Website column, click the target site.

  2. In the left navigation pane, select Speed and Network > Optimize.

  3. Turn on the switch for Markdown Conversion.

Request page content in Markdown

After you enable Markdown conversion, add the Accept: text/markdown header when you request a resource. ESA returns the page content in Markdown format. For example:

curl -H "Accept: text/markdown" https://example.com/page

If you want the edge to add or modify this request header instead of setting it on the client, see Modify incoming request headers.