Markdown Content Negotiator for LLMs
v1.1.0Serkan Algur · 2026年3月5日 上架
Detects Accept: text/markdown and serves pre-generated Markdown versions of posts and pages for AI agents and LLMs.
- 正在使用
- 50+
- 评分
- 暂无
- 累计下载
- 1,868
- 最近更新
- 2026年3月6日
贡献者
Markdown Content Negotiator for LLMs is a performance-optimized WordPress plugin designed to serve your website’s content in a format that AI agents and LLMs (Large Language Models) love: Clean Markdown.
Using standard HTTP Content Negotiation, the plugin detects when a request is made with the Accept: text/markdown header. Instead of serving the standard HTML theme, it returns a Markdown version of the post or page, complete with YAML Frontmatter, token estimation headers, and customizable content signals.
To ensure maximum performance and minimal server load, Markdown versions are pre-generated and cached using WP-Cron.
Key Features
- Content Negotiation: Automatically switches to Markdown output when requested via the
Accept: text/markdownheader. - YAML Frontmatter: Includes metadata like Title, Date, Author, and Categories in a structured format.
- Performance Tracking: Provides an
X-Markdown-Tokensheader using standard LLM token heuristics. - AI Metadata: Includes
X-Content-Signalheaders to help agents understand the nature of the document. - Background Caching: Uses WP-Cron to pre-calculate Markdown strings, ensuring zero latency during requests.
- Admin Settings: Choose which post types to enable and configure global AI content signals.