Vexalyn LLM MD

Wopisanje

Vexalyn LLM MD automatically generates and serves Markdown versions of your WordPress posts and pages, optimized for consumption by Large Language Models (LLMs) such as ChatGPT, Claude, and others.

Whether you want to make your content more accessible to AI tools, build RAG (Retrieval-Augmented Generation) pipelines, or simply expose your content in a clean machine-readable format, this plugin provides a seamless solution directly within WordPress.

Features:

  • Auto-generates Markdown on post save for selected post types
  • Serves Markdown via a clean URL endpoint (/article.md) appended to any post URL
  • Also serves Markdown via the Accept: text/markdown HTTP header for programmatic access
  • Bulk generation of Markdown for all existing posts at once, via the admin panel or WP-CLI, globally or per post type
  • Export all generated Markdown files as a single ZIP archive
  • Optional YAML frontmatter (title, URL, dates, author, categories, tags) at the top of each file, configurable globally and per post via the vexalyn_llm_md_frontmatter_fields filter
  • Password-protected posts are automatically excluded from Markdown generation and serving
  • Per-content „Exclude from Markdown“ checkbox and „Delete generated Markdown“ button on the post edit screen, for post types enabled in the admin panel
  • Dedicated admin panel located under Vexalyn > LLM MD in the WordPress dashboard

Fota wobrazowki

Instalacija

  1. Upload the vexalyn-llm-md folder to the /wp-content/plugins/ directory, or install the plugin directly through the WordPress plugin screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Navigate to Vexalyn > LLM MD in the WordPress admin menu to configure the plugin settings.
  4. Select the post types for which Markdown should be automatically generated on save.
  5. Optionally, use the bulk generation tool to generate Markdown for all existing posts.

HSP

How do I access the Markdown version of a post?

Simply append .md to any post URL. For example, if your post URL is https://example.com/my-article/, the Markdown version will be available at https://example.com/my-article.md.

Can I access the Markdown programmatically?

Yes. You can send an HTTP request with the Accept: text/markdown header to any post URL, and the plugin will return the Markdown content instead of the standard HTML page.

Which post types are supported?

The plugin supports any public post type registered in WordPress. You can configure which post types trigger automatic Markdown generation from the admin panel under Vexalyn > LLM MD.

How do I regenerate Markdown for existing posts?

Go to Vexalyn > LLM MD in the admin menu and use the bulk generation tool to regenerate Markdown for all posts at once. To regenerate only one post type, use the „Regenerate“ button next to that type in the Stats section instead.

Can I export all Markdown files?

Yes. The admin panel includes an export feature that packages all generated Markdown files into a single ZIP archive for download.

Does the plugin slow down my site?

No. Markdown generation happens asynchronously on post save and is stored for later serving. Serving a .md file is a lightweight operation with no impact on regular page load performance.

Can I generate Markdown from the command line?

Yes. Run wp vexalyn-llm-md generate to (re)generate Markdown for every post type configured under Vexalyn > LLM MD (excluded and password-protected content is skipped automatically), wp vexalyn-llm-md generate --post_type=post,page to target specific post types, or wp vexalyn-llm-md generate --id=42 to regenerate a single post. This avoids the PHP execution time / browser timeout risk of the admin bulk button on large sites.

What happens to password-protected posts?

They are automatically skipped: no Markdown is generated or cached for them, and the .md endpoint / Accept: text/markdown header return a 404 even if a cached copy previously existed.

Can I customize which metadata is included in the Markdown files?

Yes. Under Vexalyn > LLM MD, tick the fields (title, URL, published/modified date, author, categories, tags) to include as a YAML frontmatter block at the top of each file. For per-post control, hook into the vexalyn_llm_md_frontmatter_fields filter, which receives the computed fields array and the WP_Post object.

Can I exclude a single post/page from Markdown generation?

Yes. On the edit screen of any post type enabled under Vexalyn > LLM MD, a „LLM MD“ box in the sidebar lets you tick „Exclude this content from Markdown generation (.md)“. Excluded content is never cached or served, even if the post type is otherwise enabled.

I generated a Markdown file by mistake, how do I remove it?

On the edit screen, the same „LLM MD“ box shows a „Delete generated Markdown“ button whenever a cached file exists for that content. It removes the cached Markdown immediately (the .md endpoint returns 404 right away) without excluding the content — it will be regenerated normally on the next save, unless you also tick the exclude checkbox.

Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

Sobuskutkowarjo a wuwiwarjo

„Vexalyn LLM MD“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

Protokol změnow

1.1.0

  • Added a „Delete generated Markdown“ button in the post edit screen’s LLM MD box, shown whenever a cached file exists, to remove a mistakenly generated .md without excluding the content from future generation.
  • Added a „Regenerate“ button per post type in the Stats section, to refresh Markdown for a single content type instead of running the full bulk generation.
  • Added a per-content „Exclude this content from Markdown generation“ checkbox on the post edit screen, shown only for post types enabled under Vexalyn > LLM MD.
  • Security: password-protected posts are no longer cached or served as Markdown (endpoint and Accept header now return 404, and existing cache is purged on save).
  • Added optional YAML frontmatter (title, URL, dates, author, categories, tags), configurable per field in the admin panel, with a vexalyn_llm_md_frontmatter_fields filter for per-post overrides.
  • WP-CLI: added --id=<id> to regenerate a single post, with an explanatory error if it’s skipped (not published, password-protected, excluded, or type not enabled). Bulk generation (all types or --post_type) already skips excluded and password-protected content.
  • Added wp vexalyn-llm-md generate WP-CLI command for bulk (re)generation without the admin bulk button’s timeout risk.
  • Confirmed compatibility with WordPress 7.0.2 (no code change required).

1.0.0

  • Initial release.
  • Auto-generation of Markdown on post save for selected post types.
  • Markdown served via .md URL endpoint.
  • Markdown served via Accept: text/markdown HTTP header.
  • Bulk generation of Markdown for all posts.
  • ZIP export of all generated Markdown files.
  • Admin panel under Vexalyn > LLM MD.