[WordPress] 外掛分享: Morick Markdown Layer for AI

首頁外掛目錄 › Morick Markdown Layer for AI
WordPress 外掛 Morick Markdown Layer for AI 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.3+ PHP 7.2+ v1.4.2 上架:2026-08-27

內容簡介

Morick Markdown Layer for AI 外掛為網站新增一層輕量級的 Markdown 格式,讓 AI 助手和爬蟲能更有效地讀取內容,無需改變佈景主題或 URL,提升網站的可讀性與搜尋引擎優化。

【主要功能】
• 每頁生成 Markdown 版本
• 支援內容協商,無需查詢參數
• 自動生成 llms.txt 索引
• HTML 頁面提供替代連結標籤
• 管理員檢查清單顯示頁面狀態
• 手動 Markdown 覆蓋功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Morick Markdown Layer for AI」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

AI assistants and crawlers (GPTBot, ClaudeBot, Perplexity, and others) increasingly read the web to answer users’ questions. HTML pages built for humans are heavy and noisy for them: navigation, scripts, and styling bury the actual content.
Morick Markdown Layer for AI adds a lightweight, machine-friendly Markdown layer on top of your existing site – without changing your theme, your URLs, or anything your human visitors see.
What it does

Markdown version of every page. Append ?ai=1 to any post, page, or archive URL and the plugin returns clean Markdown (with YAML frontmatter: title, description, canonical URL, dates, categories) instead of HTML.
Content negotiation. Clients that send an Accept: text/markdown header receive Markdown at the normal URL – no query parameter needed.
/llms.txt generation. The plugin dynamically serves an llms.txt index: your site name, description, and a link list of all Markdown-enabled pages, so AI agents can discover your content in one request.
Alternate link tags. Each HTML page advertises its Markdown version via in the head, which is how AI crawlers actually discover and follow the Markdown layer.
Admin checklist. A dashboard screen lists every target page with its status (Auto / Manual / Excluded), body length, sortable columns, status filters, and title search.
Manual Markdown override. For template-driven landing pages whose HTML converts poorly, write Markdown by hand per page. Manual Markdown always wins over auto conversion.
Automatic exclusion. Pages whose converted body falls below a configurable length threshold are excluded automatically (thin content is worse than no content for AI consumption).
Blog home index. The posts index is served as Markdown too: a linked list of recent posts, so an agent can enter at the front door and walk the whole site.
No dependencies. The HTML-to-Markdown converter is a self-contained DOM walker. No Composer packages, no external services, no API calls, no data leaves your server.

How conversion is resolved
For each Markdown request the plugin resolves in this order:

Manual Markdown exists for the page – serve it (threshold ignored).
Otherwise, if the auto-converted body meets the length threshold – serve the auto conversion.
Otherwise the page is excluded: no Markdown is served and no alternate link is printed.

SEO safety
The Markdown response sends a Link: ; rel="canonical" HTTP header pointing back to the HTML page, plus Cache-Control: no-store, so the Markdown layer does not compete with your HTML pages in search engines.
Performance
Converted Markdown is cached per page in transients and invalidated automatically when the post is saved. The archive (llms.txt) and page lists are capped and filterable via the mdlai_post_types and mdlai_list_limit hooks.

延伸相關外掛

文章
Filter
Mastodon