Markdown Alternate
Provides markdown versions of posts and pages via .md URLs
by Joost de Valk · github.com/progressplanner/markdown-alternate · website
★ 64stars
10forks
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/progressplanner/markdown-alternate/archive/refs/heads/main.zipFrom the readme
Markdown Alternate
Expose WordPress posts and pages as clean Markdown via predictable .md URLs, content negotiation, and a simple query parameter fallback.
Markdown Alternate helps publishers, developers, and AI-facing sites offer a lightweight alternative to HTML without maintaining a second copy of their content.
Why this plugin exists
HTML is great for browsers, but not always ideal for:
- LLM and agent retrieval pipelines
- developer tools that want structured, readable content
- documentation workflows built around Markdown
- users who prefer clean text over theme-heavy HTML
Markdown Alternate turns your existing WordPress content into Markdown on demand, using the same canonical content you already publish.
What it does
- Serves posts and pages at .md URLs
- Supports nested pages and date-based permalinks
- Supports content negotiation via Accept: text/markdown
- Supports ?format=markdown when headers are not practical
- Adds alternate discovery links for supported content
- Caches generated Markdown for better performance
- Lets developers enable support for custom post types
- Integrates with Yoast SEO llms.txt generation when Yoast SEO is active
Example URLs
Or r