{"id":285302,"date":"2026-03-05T07:27:48","date_gmt":"2026-03-05T07:27:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-markdown-content-negotiator\/"},"modified":"2026-03-06T07:01:03","modified_gmt":"2026-03-06T07:01:03","slug":"sa-ai-markdown","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/sa-ai-markdown\/","author":1566604,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"6.0","requires_php":"7.3","requires_plugins":null,"header_name":"Markdown Content Negotiator for LLMs","header_author":"Serkan Algur","header_description":"Detects Accept: text\/markdown and serves pre-generated Markdown versions of posts\/pages.","assets_banners_color":"","last_updated":"2026-03-06 07:01:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/serkanalgur","header_plugin_uri":"https:\/\/github.com\/serkanalgur\/markdown-content-negotiator-for-llms","header_author_uri":"https:\/\/github.com\/serkanalgur","rating":0,"author_block_rating":0,"active_installs":0,"downloads":212,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.8":{"tag":"1.0.8","author":"kaisercrazy","date":"2026-03-05 07:36:12"},"1.1.0":{"tag":"1.1.0","author":"kaisercrazy","date":"2026-03-06 07:01:03"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3475223,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3475223,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.8","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"The AI Markdown settings page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,144,257149,148076,4608],"plugin_category":[52],"plugin_contributors":[85217],"plugin_business_model":[],"class_list":["post-285302","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-caching","plugin_tags-content-negotiation","plugin_tags-gutenberg","plugin_tags-markdown","plugin_category-performance","plugin_contributors-kaisercrazy","plugin_committers-kaisercrazy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sa-ai-markdown\/assets\/icon-128x128.png?rev=3475223","icon_2x":"https:\/\/ps.w.org\/sa-ai-markdown\/assets\/icon-256x256.png?rev=3475223","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>Using standard HTTP Content Negotiation, the plugin detects when a request is made with the <code>Accept: text\/markdown<\/code> 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.<\/p>\n\n<p>To ensure maximum performance and minimal server load, Markdown versions are pre-generated and cached using WP-Cron.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Content Negotiation<\/strong>: Automatically switches to Markdown output when requested via the <code>Accept: text\/markdown<\/code> header.<\/li>\n<li><strong>YAML Frontmatter<\/strong>: Includes metadata like Title, Date, Author, and Categories in a structured format.<\/li>\n<li><strong>Performance Tracking<\/strong>: Provides an <code>X-Markdown-Tokens<\/code> header using standard LLM token heuristics.<\/li>\n<li><strong>AI Metadata<\/strong>: Includes <code>X-Content-Signal<\/code> headers to help agents understand the nature of the document.<\/li>\n<li><strong>Background Caching<\/strong>: Uses WP-Cron to pre-calculate Markdown strings, ensuring zero latency during requests.<\/li>\n<li><strong>Admin Settings<\/strong>: Choose which post types to enable and configure global AI content signals.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>markdown-content-negotiator-for-llms<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Configure your preferences under 'Settings &gt; AI Markdown'.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20test%20the%20markdown%20output%3F\"><h3>How do I test the Markdown output?<\/h3><\/dt>\n<dd><p>You can test it using a tool like cURL:<\/p>\n\n<pre><code>curl -H \"Accept: text\/markdown\" https:\/\/your-site.com\/post-slug\/\n<\/code><\/pre><\/dd>\n<dt id=\"how%20are%20tokens%20calculated%3F\"><h3>How are tokens calculated?<\/h3><\/dt>\n<dd><p>We use a standard heuristic of ~4 characters per token to provide an estimate in the <code>X-Markdown-Tokens<\/code> header.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added WooCommerce Product support.<\/li>\n<li>Added Elementor content rendering support.<\/li>\n<li>Improved WooCommerce product data extraction (dimensions, weight, price with currency).<\/li>\n<li>Moved product templates to internal code-based generation.<\/li>\n<li>Fixed Markdown output escaping issues.<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Misspelling fix<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Refactor avoid trademark of 'WP'<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Name Change &amp; Refactor plugin<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Security: Implemented Late Escaping for all echoed variables and generated data.<\/li>\n<li>Security: Added nonces and strict data sanitization for admin settings.<\/li>\n<li>Standards: Full compliance with WordPress PHP Coding Standards (WPCS).<\/li>\n<li>Refactor: Added complete Docblock documentation and standardized all hook callbacks.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Ability to generate markdown when post changes.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Featured Image support<\/li>\n<li>Description creation<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Code Block Conversion Support (pre and code)<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Detects Accept: text\/markdown and serves pre-generated Markdown versions of posts and pages for AI agents and LLMs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/285302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=285302"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kaisercrazy"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=285302"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=285302"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=285302"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=285302"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=285302"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=285302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}