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%
Smart Marketing SMS and Newsletters Forms
🇵🇹 VERSÃO EM PORTUGUÊS (PT-PT) E-goi Smart Marketing: O Motor de Crescimento All-in-One para o Seu WordPress! Cansado de ter contactos no seu site que nunca se transformam em vendas? O plugin E-goi Smart Marketing SMS and Newsletters Forms é o seu atalho para o sucesso, transformando o seu website WordPress ou loja WooCommerce numa máquina de marketing e automação integrada. Venda mais, recupere vendas perdidas e automatize a sua comunicação, tudo a partir de um só lugar! 💡 PORQUÊ INICIAR OU MUDAR PARA O E-GOI SMART MARKETING? 1. Captação Múltipla e Compatibilidade Total Chega de widgets, pop-ups e shortcodes de diferentes ferramentas! Simplifique a sua gestão e capte contactos de forma eficaz, em qualquer canal: Captação: Crie Pop-ups, Formulários Simples e Complexos, Widgets e Barra de Subscrição — tudo a partir de um único painel. Comunicação: Use o Connected Sites para ligar o seu site a canais como Web Push, SMS e E-mail. Compatibilidade: Garanta que os seus formulários e elementos de design funcionam com Elementor, Gutenberg, WPBakery Page Builder, Contact Form 7 e Gravity Forms. 2. Integração Profunda com WooCommerce (Track & Engage) O E-goi oferece uma integração de dados de compra profunda para automações que geram receita: Vendas Perdidas: Ative o Track & Engage para monitorizar Carrinhos Abandonados e comportamento de navegação, permitindo automações de recuperação por E-mail e SMS. Visão 360º da Encomenda: Sincronize Produtos e utilize o Converter Encomendas (API Backend) para registar no E-goi o estado exato de todas as compras. Conteúdo Automatizado: Envie campanhas de e-mail sobre um produto automaticamente (requer WooCommerce). 3. Entregabilidade Essencial com E-mail Transacional (SMTP) O seu marketing é inútil se os e-mails não chegarem. Confie a sua reputação de remetente a quem sabe: Fim ao SPAM: Utilize o E-mail Transacional (SMTP) do E-goi para processar todos os e-mails críticos do WordPress e WooCommerce. Relatórios: Melhore a sua taxa de entregabilidade e aceda a relatórios detalhados de envios, aberturas e cliques. 4. Automação Simples e Poderosa com RSS Feed Mantenha a sua audiência a par das novidades, sem ter de criar e-mails manualmente todas as semanas: Feeds Personalizados: Crie RSS Feeds por Categorias, Tags ou Tipo (Artigos/Produtos). Campanhas Automáticas: Transforme esses Feeds em Campanhas RSS Feed automáticas. Conformidade: Garanta a qualidade e a segurança dos seus dados com Double Opt-in (RGPD). Novidades: Conversão de Encomendas (API Backend): Monitorização e sincronização dos estados de encomenda (“Criada”, “Pendente”, “Cancelada”, “Completa” e “Desconhecida”) diretamente com o E-goi. Funcionalidades: Geral: 100% Gratuito, Sincronização automática de contactos, Connected Sites, E-goi Track & Engage, Bloco E-goi para Gutenberg. Captação de Leads: Formulários Simples, Formulários Múltiplos, Barra de Subscrição, Formulários Pop-up, Formulários Widgets. Automação & E-commerce: Conversão de encomenda por estado (API Backend), Campanha E-mail com publicação de artigo, Sincronização produtos Woocommerce. Canais & Conteúdo: Notificações Web Push, RSS Feed por categorias, tags ou produtos. E-mail Transacional (SMTP) E-goi: Envio de todos os e-mails do WordPress e WooCommerce pelo E-goi, com melhor entregabilidade. Compatibilidade: Integração com WooCommerce, CF7, Gravity Forms, Elementor, WPBakery Page Builder. Conformidade: Opção de validação dos contactos com Double Opt-in (RGPD), Associação de Tags a formulários. Add-on: Plugin E-goi SMS Orders Alert/Notifications Requisitos: Plano E-goi com acesso a sua API Key. WordPress na versão 4.7 ou superior. Já tem uma conta E-goi? Criar conta E-goi gratuita 🇬🇧 ENGLISH VERSION (EN-EN) E-goi Smart Marketing: The All-in-One Growth Engine for Your WordPress! Tired of having contacts on your site that never turn into sales? The E-goi Smart Marketing SMS and Newsletters Forms plugin is your shortcut to success, transforming your WordPress website or WooCommerce store into an integrated marketing and automation machine. Sell more, recover lost sales, and automate your communication, all from one place! WHY SWITCH TO E-GOI SMART MARKETING? 1. MULTIPLE LEAD CAPTURE AND FULL COMPATIBILITY No more widgets, pop-ups, and shortcodes from different tools! Simplify your management and capture contacts effectively, across any channel: Multiple Capture: Create Pop-ups, Simple and Complex Forms, Widgets, and Subscription Bar — all from a single panel. Immediate Communication: Use Connected Sites to link your site to multiple E-goi channels, such as Web Push, SMS, and E-mail, re-engaging visitors wherever they are. Full Compatibility: Ensure your forms and design elements work with Elementor, Gutenberg, WPBakery Page Builder, Contact Form 7, and Gravity Forms. 2. DEEP WOOCOMMERCE INTEGRATION (TRACK & ENGAGE) Go beyond the basics. E-goi offers deep purchase data integration for automations that generate revenue: Lost Sales Automation: Activate Track & Engage to monitor Abandoned Carts and real-time browsing behavior, enabling recovery automations via E-mail and SMS. 360º Order View: Synchronize Products and use the Order Conversion (API Backend) to record the exact status of all purchases in E-goi (“Created”, “Pending”, “Canceled”, “Completed” or “Unknown”), allowing for highly segmented post-purchase automations. Automated Content: Send e-mail campaigns about a product automatically as soon as you publish a new article (requires WooCommerce). 3. ESSENTIAL DELIVERABILITY WITH TRANSACTIONAL E-MAIL (SMTP) Your marketing is useless if the emails don’t arrive. Trust your sender reputation to the experts: End SPAM: Use E-goi’s Transactional E-mail (SMTP) to process all critical emails from WordPress and WooCommerce (password recovery, order confirmations). Reports and Trust: Improve your deliverability rate and access detailed reports on sends, opens, and clicks to track transactional performance. 4. SIMPLE AND POWERFUL AUTOMATION WITH RSS FEED Keep your audience up-to-date with news without having to manually create emails every week: Custom Feeds: Create RSS Feeds by Categories, Tags, or Type (Articles/Products). Automatic Campaigns: Transform these Feeds into automatic RSS Feed Campaigns that are sent to your subscribers on a schedule without intervention. Compliance: Ensure the quality and security of your data with the option for contact validation via Double Opt-in (GDPR). What’s new: Order Conversion (API Backend): Monitoring and synchronization of order statuses (“Created”, “Pending”, “Canceled”, “Completed” or “Unknown”) directly with E-goi. Features: Geral: 100% Free, Automatic contact synchronization (incl. custom fields), Connected Sites, E-goi Track & Engage, Gutenberg E-goi Block. Lead Capture: Simple Forms, Multiple Forms (via Connected Sites), Subscription Bar, Pop-up Forms (Visit and Exit Intent), Widget Forms. Automation & E-commerce: Order sync by status (API Backend), E-mail campaign on article publication, WooCommerce product synchronization. Channels & Content: Web Push Notifications, RSS Feed by categories, tags or products. E-goi Transactional E-mail (SMTP): Send all WordPress and WooCommerce e-mails through E-goi for better deliverability. Compatibility: Integrates with WooCommerce, CF7, Gravity Forms, Elementor, WPBakery Page Builder. Compliance: Double Opt-in contact validation (GDPR), Tag association to forms. Add-on: E-goi SMS Orders Alert/Notifications Requirements: E-goi Plan with access to your API Key. WordPress version 4.7 or higher. Do you need an E-goi account ? Click and create a free E-goi account