Markdown协商测试器

检查网站是否为AI代理提供Markdown内容。测试4种机制:内容协商(Accept: text/markdown)、.md URL、HTML link标签和Link HTTP头。

我们将向此URL发送请求,测试所有4种Markdown for Agents机制。

结果

/4 个机制

内容协商

发送Accept: text/markdown头时,服务器以text/markdown响应。

.md URL

在URL的.md扩展名处可用Markdown版本。

<link>标签

HTML包含指向Markdown版本的<link rel="alternate" type="text/markdown">标签。

Link HTTP头

服务器发送包含rel="alternate"和type="text/markdown"的Link HTTP头。

什么是Markdown for Agents?

Markdown for Agents是一组机制,允许网站以Markdown格式向AI代理提供内容。代理可以请求干净的Markdown而不是解析复杂的HTML——将令牌使用量减少高达80%。有4种互补机制:

内容协商 — 服务器响应Accept: text/markdown返回Markdown内容。
.md URL — 在/page.md处提供Markdown版本。
<link>标签 — HTML包含<link rel="alternate" type="text/markdown" href="...">
Link头 — HTTP响应包含指向Markdown版本的Link头。