| 开发者 | 0gis0 |
|---|---|
| 更新时间 | 2026年12月2日 06:42 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
?format=markdown to a post or page URL.
The generated Markdown includes YAML frontmatter with useful metadata and converts common HTML elements into Markdown-friendly output.
Features include:
?format=markdown endpoint for agents and automation toolsreturngis-markdown-view-for-ai-agents folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress admin.?format=markdown to the URL.The plugin supports singular posts and pages on the front end.
AI agents append ?format=markdown to any post URL. The plugin returns the content as text/markdown with YAML frontmatter metadata.
No. The normal front-end rendering stays the same, except for the added "View as Markdown" button on singular posts and pages.
No. The button link uses rel="nofollow" and the Markdown response includes a X-Robots-Tag: noindex header.
Yes. The plugin caches the generated Markdown for 1 hour using WordPress transients. The cache is cleared automatically when you update a post.
Tested up to header to WordPress 7.1the_content filter callback using wp_ksesTested up to header to WordPress 7.0Markdown View for AI Agentsmarkdown-view-for-ai-agentsmarkdown-view-for-ai-agents