Skip to content

serve clean markdown for AI agents#622

Open
mkriegeskorte wants to merge 3 commits intomainfrom
feature/markdown-responses
Open

serve clean markdown for AI agents#622
mkriegeskorte wants to merge 3 commits intomainfrom
feature/markdown-responses

Conversation

@mkriegeskorte
Copy link
Copy Markdown
Contributor

@mkriegeskorte mkriegeskorte commented Feb 18, 2026

Detect AI bot requests through:

  • Accept: text/markdown headers,
  • .md URL suffixes
  • known user agents (GPTBot, ClaudeBot, etc.)

and serve clean markdown instead of full HTML pages. This reduces token usage and gives agents a clean markdown version of the content they’re looking for.

Detect AI bot requests through:

- Accept: text/markdown headers,
- .md URL suffixes, and known user agents (GPTBot, ClaudeBot, etc.)

and serve clean markdown instead of full HTML pages.
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiptap-docs Ready Ready Preview, Comment Feb 18, 2026 8:05pm

Request Review

Copy link
Copy Markdown
Contributor

@arnaugomez arnaugomez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't certain website content be lost, like callout titles?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants