=== Vexalyn LLM MD ===
Contributors: leprincenoir
Tags: markdown, llm, ai, artificial intelligence, content export
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generates and serves Markdown files optimized for LLMs (Large Language Models) for your WordPress articles.

== Description ==

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
* Export all generated Markdown files as a single ZIP archive
* Dedicated admin panel located under **Vexalyn > LLM MD** in the WordPress dashboard

== Installation ==

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.

== Frequently Asked Questions ==

= 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.

= 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.

== Screenshots ==
1. Settings page
2. Display of the indication if activated.

== Changelog ==

= 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.