Markdown pages
Every public post and page has a clean Markdown copy at its address plus .md. https://example.com/about-us/ becomes https://example.com/about-us.md.
The copy holds the title, the excerpt, a few facts (address, dates, author, categories) and the text. Menus, sidebars, share buttons, comment forms, related-post widgets and scripts are left out. An AI agent fetching the copy gets a few kilobytes of substance instead of a few hundred kilobytes of HTML, whether or not it ever reads llms.txt. This is the part of the plugin with the clearest use today.
Switching them on and off
On the Output tab, Markdown copies:
- Serve .md copies of posts and pages (on by default). Each page's head also gets a
<link rel="alternate" type="text/markdown">pointing at its copy, so agents can find it. - Point the links in llms.txt at the .md copies (on by default). A reader following a link from llms.txt goes straight to the clean text.
The copies need pretty permalinks. With plain permalinks there is no path to add .md to, and the screen says so.
Which pages have one
The same rules as llms.txt: published, public and not password-protected, not excluded in the editor, and not marked noindex while noindex posts are skipped. Any other address ending in .md answers 404.
What a copy tells search engines
A copy is a second address for the same page, so it follows the page:
- It sends
Link: <the page's address>; rel="canonical", so search engines treat the page as the original. - It sends
X-Robots-Tag: noindexwhen your site asks search engines to stay away (Settings, Reading), and when the post itself is marked noindex. - Logged-out visitors get
Cache-Control: public, max-age=3600. Logged-in users getprivate, no-store, so no shared cache keeps a response that went out with a login cookie. - Each response has an ETag and a Last-Modified date. A client that already has the current version gets a short 304 instead of the document again.
Built as a visitor sees it
A copy is always rendered as a logged-out visitor sees the page, whoever asks for it. If a membership plugin shows members more than visitors, the copy holds only what visitors see, and the same goes for llms-full.txt and the search index.
Speed
Rendering a page runs the same filters as showing it, which on a page builder can be slow. Each copy is cached for up to 12 hours, and thrown away sooner when the post is saved, the plugin's settings change, or the theme or a plugin is switched.
Getting the copy out of a page
The .md copy is built from the page's content, after shortcodes and blocks have run. Elements with the classes in the ltxt_markdown_drop_classes filter are removed first, along with anything hidden from screen readers. To skip WordPress's content filters entirely on a site where one of them misbehaves, use ltxt_apply_content_filters (Hooks).