Serve Your WordPress Posts as Markdown

New on the blog: Serve Your WordPress Posts as Markdown with Post Content to Markdown.

The plugin adds a Markdown representation to any WordPress site — via Accept: text/markdown, ?format=markdown, or a .md URL suffix — with spec-correct content negotiation and Link headers so LLMs that don’t yet send Accept: text/markdown can still discover it.

Install with composer require roots/post-content-to-markdown. Feedback and PRs welcome.

Not sure if your site is ready for agents and LLMs? Run it through acceptmarkdown.com to see what’s missing.

3 Likes