Markdown Content Negotiator for LLMs

Detects Accept: text/markdown and serves pre-generated Markdown versions of posts and pages for AI agents and LLMs.

Author:Serkan Algur (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.9.1
Plugin version:1.1.0
Added to WordPress repository:05-03-2026
Last updated:06-03-2026
Rating, %:0
Rated by:0
Plugin URI:https://github.com/serkanalgur/markdown-conte...
Total downloads:1 912
Active installs:50+
plugin download
Click to start download

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/markdown header.
  • YAML Frontmatter: Includes metadata like Title, Date, Author, and Categories in a structured format.
  • Performance Tracking: Provides an X-Markdown-Tokens header using standard LLM token heuristics.
  • AI Metadata: Includes X-Content-Signal headers 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.

FAQ
ChangeLog