=== Markdown Mirror - llms.txt and .md always up to date ===
Contributors: markdownmirror
Tags: AI SEO, AEO, GEO, llms.txt, .md, markdown, SEO, AEO
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate an llms.txt map and dynamic Markdown (.md) versions of every page of your site to improve your AI SEO and facilitate LLMs indexing.

== Description ==
🚀 **Markdown Mirror** instantly serves Markdown versions of every WordPress post, page, and the homepage—no pre-generation, zero settings, pure speed.

### What it does
- ⚡ **On-demand export**  
  Just append `.md` to any public URL (e.g., `/hello-world.md`) to download the Markdown file.
- 📑 **`llms.txt` generator**  
  `/llms.txt` always lists the freshest links to every Markdown mirror.
- 🗂️ **Homepage & index**  
  `/index.md` gives you a Markdown snapshot of the front page.
- 🛠️ **Theme-agnostic**  
  Compatible with all themes.
- 🧹 **Zero clutter**  
  Writes no options, adds no tables; mirrors are generated on the fly.

### Why you’ll love it
- 🕵️ **AI-ready SEO** – Serve clean, semantic text to LLM crawlers.  
- 📚 **Docs & backups** – Keep human-readable copies of everything.  
- 💻 **Dev-friendly** – Ideal for static-site workflows and Git versioning.

### Quick start
1. Install & activate Markdown Mirror.  
2. Visit any post or page with `.md` at the end to fetch its Markdown.  
3. Check `/llms.txt` for the full index and `/index.md` for the homepage mirror.

Enjoy effortless, always-up-to-date Markdown mirrors. ✨

== Installation ==
1. Upload `markdown-mirror` folder to `/wp-content/plugins/`.
2. Activate “Markdown Mirror” in Plugins.
3. (Optional) Flush rewrite rules under Settings → Permalinks.

== Features ==
* Dynamic `.md` endpoints  
* `llms.txt` with sitemap-based index  
* Admin toggle in Dashboard → Markdown Mirror  
* No extra database tables

== Support ==
- No support available  

== Usage ==
- Browse `/index.md` for homepage Markdown.  
- Browse `/{post-slug}.md` for any post/page.  
- Visit `/llms.txt` for LLM-friendly site index.

== Frequently Asked Questions ==
= It 404s on `.md` or `llms.txt` =  
Flush permalinks once after activation (Settings → Permalinks → Save).

== Changelog ==
= 1.0.0 =
* Initial release: `.md` rules, `llms.txt`, admin UI

== Upgrade Notice ==
= 1.0.0 =
First stable version.

== License ==
GPLv2 or later  
