
內容簡介
LLM Markdown 外掛可將支援的 WordPress 公開內容轉換為乾淨的 Markdown 格式,並以可預測的 .md URL 提供。使用者只需在文章或頁面 URL 後加上 .md,即可獲取相應的 Markdown 表示。
【主要功能】
• 將 WordPress 內容轉換為 Markdown 格式
• 支援 YAML 前置資料,包含文章標題等資訊
• 可選擇公開文章類型以暴露 Markdown
• 提供內容選擇與存取控制功能
• 自動快取生成的 Markdown 文檔
• 支援自定義 CSS 選擇器排除特定元素
外掛標籤
開發者團隊
② 後台搜尋「LLM Markdown – Expose Content as .md」→ 直接安裝(推薦)
原文外掛簡介
LLM Markdown gives supported public WordPress content a clean Markdown representation at a predictable .md URL. Append .md to a post, page, or enabled public post-type URL:
https://example.com/my-post.md
The plugin renders the canonical front-end page, selects the part of the document that contains the primary content, removes configured elements, and converts the result to Markdown. Blocks, shortcodes, and other server-rendered content are therefore represented after WordPress and the active theme have processed them. The original post is never changed and no duplicate Markdown post is stored.
Structured Markdown output
Each document begins with YAML front matter containing the title, post ID, content type, slug, publication and modification dates, canonical URL, Markdown URL, excerpt, and terms from public taxonomies when available.
The converter handles headings, paragraphs, emphasis, links, ordered and unordered lists, blockquotes, inline and fenced code, horizontal rules, deletion text, figures and captions, and simple tables. Images can be included as an option, with support for common lazy-loading source attributes.
Content selection and access control
Choose which public post types expose Markdown. Simple CSS selectors determine the main content container and which elements should be excluded before conversion. Password-protected and non-public content is rejected, and Yoast SEO noindex values can be honored. Developers can apply an additional access-control filter for membership, privacy, or custom publishing rules.
Discovery, delivery, and caching
Eligible HTML pages advertise their Markdown counterpart with a element. Documents generated for anonymous requests are cached for performance and automatically invalidated after relevant settings, theme, or navigation changes; a manual cache control is available under Tools.
An advanced, disabled-by-default content-negotiation option can also return Markdown from the normal canonical URL when a client explicitly requests Accept: text/markdown. This mode sends Vary: Accept, but it should be enabled only after confirming every cache and CDN in front of the site honors that header correctly.
LLM Markdown has no Gutenberg lock-in, does not duplicate content, and supports public custom post types without requiring one.
