{"repo":"roots/post-content-to-markdown","free":true,"listed":false,"github":"https://github.com/roots/post-content-to-markdown","clone":"git clone https://github.com/roots/post-content-to-markdown.git","description":"A WordPress plugin that serves post content as Markdown via Accept headers and .md URLs","language":"PHP","stars":64,"topics":["markdown","wordpress","wordpress-plugin","content-negotiation","html-to-markdown","llms"],"license":"MIT","category":"ai-agents","readme_excerpt":"Post Content to Markdown A WordPress plugin that returns post content in Markdown format when requested with an Accept header set to text/markdown , a .md URL suffix (e.g. /hello-world.md ), or a ?format=markdown query parameter. [!TIP] Learn more about serving Markdown to AI agents and check your site's AI-readiness at acceptmarkdown.com. See the acceptmarkdown.com score when using this plugin .md URL / Query Parameter text/markdown Accept header ------------- --------------- Support us Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord. Requirements PHP 8.1+ Installation via Composer Manual 1. Download the latest release 2. Place in wp-content/plugins/post-content-to-markdown/ 3. Activate via wp-admin or WP-CLI Usage Accept headers (ideal for AI agents) Send an Accept: text/markdown header to any of these URLs: - Single post: https://example.com/post-slug/ → Returns post content as Markdown - Single post with comments: https://example.com/post-slug/feed/ → Returns post + all comments - Main feed: https://example.com/feed/ → Returns latest posts as Markdown Examples: .md URL suffix Appending .md to any permalink returns the same Markdown representation and is a first-class, shareable URL. .md URL responses include X-Robots-Tag: noindex, nofollow so s","default_branch":null,"files":null,"tree":[],"storefront":"/r/roots","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/roots/post-content-to-markdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}