Skip to content

Commit 7cd0498

Browse files
authored
Update markdown-endpoint.mdx
1 parent 8813d4c commit 7cd0498

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/content/docs/browser-rendering/rest-api/markdown-endpoint.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ import { Tabs, TabItem, Render } from "~/components";
99

1010
The `/markdown` endpoint retrieves a webpage's content and converts it into Markdown format. You can specify a URL and optional parameters to refine the extraction process.
1111

12+
## Common use cases
13+
14+
1. **Content extraction:** Convert a blog post or article into Markdown format for storage or further processing.
15+
2. **Static site generation:** Retrieve structured Markdown content for use in static site generators like Jekyll or Hugo.
16+
3. **Automated summarization:** Extract key content from web pages while ignoring CSS, scripts, or unnecessary elements.
17+
1218
## Basic usage
1319

1420
### Using a URL
@@ -98,8 +104,7 @@ curl -X 'POST' 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browse
98104
product="browser-rendering"
99105
/>
100106

101-
## Potential use-cases
102-
103-
1. **Content extraction:** Convert a blog post or article into Markdown format for storage or further processing.
104-
2. **Static site generation:** Retrieve structured Markdown content for use in static site generators like Jekyll or Hugo.
105-
3. **Automated summarization:** Extract key content from web pages while ignoring CSS, scripts, or unnecessary elements.
107+
<Render
108+
file="faq"
109+
product="browser-rendering"
110+
/>

0 commit comments

Comments
 (0)