Markdown for AI Agents
Markdown for AI Agents is a lightweight WordPress plugin that enables HTTP content negotiation for your site’s content. When a client (like an AI agent or a custom script) requests a page with the Accept: text/markdown header, the plugin intercepts the request and returns a clean, structured Markdown representation of the post or page content. This is ideal for AI crawlers, RAG (Retrieval-Augmented Generation) systems, and non-browser clients that prefer machine-friendly text over complex HTML. Important note: This plugin is primarily a developer/integration tool. Human visitors browsing your site will never see any difference — the Markdown output is only served when explicitly requested via the Accept: text/markdown HTTP header. Normal browser requests always receive the standard HTML page. Key Features: Automatically detects Accept: text/markdown headers. Converts HTML content to clean Markdown using the League HTMLToMarkdown library. Strips away theme layout, navigation, headers, footers, and sidebars — serving only the main content. Adds useful HTTP response headers: Content-Type: text/markdown, Vary: Accept, and X-Markdown-Word-Count. Respects WordPress visibility rules and filters. No configuration required — works out of the box for posts, pages, and custom post types. How It Works This plugin uses a standard web technique called HTTP content negotiation. The same URL on your site can serve different representations of the same content depending on what the client asks for: A regular browser sends Accept: text/html → receives your normal HTML page. An AI agent sends Accept: text/markdown → receives a clean Markdown version of the same page. No extra URLs, no duplicate content, no configuration needed. The plugin hooks into WordPress’s template_redirect action, detects the Accept header, captures the rendered HTML, converts it to Markdown, and returns it with appropriate headers. Why Markdown for AI Agents? When building RAG (Retrieval-Augmented Generation) applications or AI pipelines that ingest web content, HTML is extremely noisy. A typical WordPress page contains thousands of tokens worth of HTML tags, inline styles, navigation menus, scripts, and layout markup — none of which carries meaning for an AI model. Serving clean Markdown instead can reduce token consumption by up to 60%, which means: Lower API costs — fewer tokens ingested when loading pages into vector stores or LLM pipelines. Faster processing — less text for the model to parse, filter, and discard. Better retrieval accuracy — higher signal-to-noise ratio improves the quality of RAG results. Simpler pipelines — no need for custom HTML stripping logic on the client side; the plugin handles it server-side. Any AI agent, crawler, or ingestion script that sends Accept: text/markdown in its request header will automatically receive the clean Markdown version — no extra URLs, no separate endpoints, no changes to your content workflow.
Top keywords
- markdown15×3.38%
- content10×2.25%
- html9×2.03%
- text9×2.03%
- accept8×1.80%
- ai8×1.80%
- accept text6×1.35%
- page6×1.35%
- text markdown6×1.35%
- accept text markdown5×1.13%
- clean5×1.13%
- clean markdown4×0.90%
VidSEO – Video transcript embedding for WordPress & LLM
VidSEO is a WordPress plugin designed to solve a common and often overlooked problem: valuable information explained in videos is largely invisible to machines. Videos are excellent for human visitors, but search engines, screen readers, and modern answer engines still rely primarily on text to understand what a page contains. When important explanations live only in audio or video form, machines are forced to approximate or ignore that content. VidSEO addresses this limitation by exposing video transcripts as native HTML text directly embedded in the page, alongside the video itself. This allows machines to read what is said in the video without guessing. VidSEO does not generate content. VidSEO does not summarize or rewrite transcripts. VidSEO does not infer missing information. Its role is exposure, not interpretation. A precise, machine-first definition of VidSEO and its scope is available here: https://vidseo.dev Why transcripts still matter Despite major advances in search and AI systems, video content remains fundamentally opaque without an explicit text surface. Search engines may detect that a video exists, but they rely on surrounding text to understand its meaning. Language models face the same constraint: without readable text, they must infer what a video contains. By rendering transcripts as clean HTML, VidSEO ensures that: – the meaning expressed in the video is explicitly available, – long explanations delivered in video form are preserved as text, – machines do not need to extrapolate or hallucinate. Industry context This limitation is now widely acknowledged across the industry. In its January 2026 guide on AEO and GEO, Microsoft highlights the importance of exposing readable text surfaces alongside video content so answer engines and AI systems can reliably extract meaning. From Discovery to Influence: A Guide to AEO and GEO VidSEO provides a concrete WordPress implementation aligned with this principle. What VidSEO allows you to do With VidSEO, you can: Embed YouTube or Vimeo videos using a simple shortcode Retrieve existing YouTube subtitles automatically (when available) Associate each video with a full text transcript Display the transcript as clean HTML inside the page Structure transcripts with headings, paragraphs and links (PRO) Hide the transcript visually while keeping it readable in the source code Keep full editorial control over the transcript content Common situations where VidSEO is useful VidSEO is often used when: Important information is explained mainly in video form Videos contain long explanations, tutorials, interviews or talks You want search engines to understand what is said in your videos Accessibility requires a text alternative to audiovisual content You want to reuse existing video subtitles as readable page content Example A tutorial video explains a complex process in several minutes. With VidSEO, the full explanation becomes readable text on the same page. Search engines and answer engines can now understand what is explained, even if the visitor never plays the video. How it works VidSEO adds a dedicated content type to WordPress. For each video, you: – choose the video platform (YouTube or Vimeo), – paste the video URL, – retrieve existing YouTube subtitles automatically (when available) or add a transcript manually, – optionally format the transcript using standard HTML, – insert the generated shortcode anywhere on your site. The transcript is rendered as standard HTML directly in the page, without external files, iframes, or API dependencies. About the publisher VidSEO is developed by Pagup, a digital readability firm based in Quebec, Canada. Video content is increasingly consumed and summarized by AI systems. Without structured video metadata (VideoObject schema, proper titles, descriptions, and thumbnail references), your videos are invisible to the machine reading layer. VidSEO ensures that your video content is described in a structured format that search engines and AI systems can parse, index, and cite. Part of the Pagup ecosystem pagup.com — Digital readability firm. Diagnostic, semantic architecture, AI governance. gautierdorval.com — Doctrine, canonical definitions, interpretive governance research. interpretive-governance.org — Formal versioned standard for interpretive governance. vidseo.dev — Documentation and resources for VidSEO. Technical references VidSEO outputs transcripts as native HTML within the page DOM. No external files. No API dependencies. No inference layer. Canonical definition and scope: https://vidseo.dev Interpretability reference: https://github.com/GautierDorval/vidseo-video-llm-interpretability Who develops VidSEO? VidSEO is developed by Pagup, a digital readability firm based in Quebec, Canada. Pagup specializes in semantic architecture, interpretive SEO, and AI governance. Why does video structured data matter for AI systems? AI systems rely on structured data to understand what a video contains, who produced it, and how it relates to the page it appears on. Without VideoObject schema markup, your video is just an embedded iframe — the system cannot extract its title, description, duration, or thumbnail. This means your video content does not contribute to your site’s overall digital readability and cannot be cited in AI-generated answers. What is digital readability? Digital readability is the capacity of a website to be correctly understood by all four reading layers: humans, search engines, generative AI systems, and autonomous agents. Learn more at pagup.com.