manifest / integrations / markdown-negotiation-for-agents
Markdown Negotiation for Agents
Content negotiation plugin for WordPress that serves Markdown to AI agents and tools via Accept header.
by illodev · github.com/illodev/markdown-negotiation-for-agents · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/illodev/markdown-negotiation-for-agents/archive/refs/heads/main.zipAlso on Packagist as illodev/markdown-negotiation-for-agents:
composer require illodev/markdown-negotiation-for-agentsFrom the readme
Markdown Negotiation for Agents
Serve your WordPress content as Markdown via HTTP content negotiation. Ideal for AI agents, LLMs, developer tools, and any client that prefers Markdown over HTML.
Inspired by Cloudflare's Markdown for Agents, but implemented at the application level within WordPress.
How It Works
When a client sends a request with Accept: text/markdown, the plugin intercepts WordPress's template loading and responds with clean Markdown instead of HTML. The URL stays the same — this is real HTTP content negotiation.
Response Headers
Features
- Real Content Negotiation — Accept: text/markdown and text/x-markdown
- Alternative Access — ?format=markdown query parameter, .md URL extension
- Gutenberg Support — Full block processing (headings, lists, tables, code, images, embeds, columns)
- WooCommerce — Product details, pricing, attributes, stock status
- REST API — /wp-json/jetstaa-mna/v1/markdown/ endpoint + markdown field on post responses
- WP-CLI — wp markdown generate, wp markdown convert, wp markdown cache
- Intelligent Caching — Object cache, transients, or file-based. Auto-invalidation on post save
- Security — Rate limiting, sanitization, no private data
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.