Markdown for Agents and Statistics

Changelog

1.4.4

  • Fix: full-page caches (LiteSpeed, Varnish, nginx fastcgi_cache) could store the Markdown response under a page URL when an AI agent or ?output_format=md request hit it first, then replay the .md body to subsequent HTML browser requests. Markdown responses now send Cache-Control: private, no-store, X-LiteSpeed-Cache-Control: no-cache, X-Accel-Expires: 0, and Vary: Accept, User-Agent unconditionally.

1.4.3

  • Update to fix deleting posts on status change outside of auto-update flow

1.4.2

  • Fixed issue with private/draft posts being created as MD files and added checkbox to post edit pages to exclude posts from MD generation. Also fixes small issue in unusual taxonomy slugs prodducing incorrect URLs in Topics secion of MD body. Adds Strauss namespacing to html-to-markdown/Composer includes to avoid collisions.

1.4.1

  • Removed llms.txt index generation. The LlmsTxtGenerator class, its –with-llmstxt WP-CLI flag on wp markdown-agents generate, and the corresponding unit tests have been dropped.

1.4.0

  • Add notices and copy around generating and regenerating content on install and updates to Settings
  • Add transient to store and note when content needs regenerating

1.3.0

  • Optional hierarchy frontmatter fields (parent, ancestors, children IDs) for hierarchical post types (pages, etc.).
  • Optional author display name in frontmatter.
  • Optional root-relative paths for featured images (survives domain migrations).
  • Optional ## Topics section appended to the Markdown body with linked taxonomy terms.
  • Export preview — “Preview Markdown” button in the post meta box renders generated Markdown inline without writing to disk.
  • New WP-CLI command: wp markdown-agents prune-stats [–days=<n>] [–yes] — removes access stats older than N days.
  • Manifest hash now covers taxonomy term slugs — incremental export correctly detects posts whose terms changed.

1.2.0

  • Taxonomy archive support — generates Markdown index files for all public taxonomy terms (categories, tags, custom taxonomies), served via content negotiation.
  • Taxonomy archives auto-regenerate when any post in the term is saved or deleted.
  • AJAX bulk generation for taxonomy archives on the Settings page with live progress counter.
  • New WP-CLI command: wp markdown-agents generate-taxonomies [–taxonomy=<slug>] [–dry-run].
  • <link rel=”alternate” type=”text/markdown”> tag now emitted on taxonomy archive pages.
  • New filter: markdown_for_agents_serve_taxonomies to enable/disable taxonomy archive serving globally.
  • New filter: markdown_for_agents_taxonomy_frontmatter to modify taxonomy archive frontmatter before serialisation.
  • Bulk generation buttons converted to AJAX with live counter — no more page timeouts on large sites.

1.1.0

  • Per-post-type field configuration for frontmatter and content fields.
  • ACF support with dot notation for nested group fields.
  • Content fields option — use ACF/meta fields as body content instead of post_content.
  • ACF relationship fields automatically normalised to post titles.
  • Added manifest.json generation with content hashes and change tracking.
  • New –with-manifest flag for wp markdown-agents generate.
  • Manifest is generated per post-type folder for independent change tracking.
  • Incremental export via –incremental — skips unchanged documents.
  • Delta file (changes.json) generated for RAG system integration.
  • Access statistics — logs AI agent requests; dedicated stats admin page.
  • UA detection — configurable User-Agent strings force Markdown serving.

1.0.0

  • Initial release.

Plugin Website
Visit website

Version:
1.4.4
Last Updated
May 13, 2026
Active Installs
20
Requires
WordPress 6.3
Tested Up To
WordPress 7.0
Requires PHP
8.1

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.