[WordPress] 外掛分享: Worddown

首頁外掛目錄 › Worddown
WordPress 外掛 Worddown 的封面圖片
10+
安裝啟用
尚無評分
3 天前
最後更新
100%
問題解決
WordPress 5.0+ PHP 8.1+ v1.2.3 上架:2025-08-28

內容簡介

Worddown 是一款強大的 WordPress 外掛,能將您的頁面和文章匯出為 Markdown 檔案,方便與 AI 聊天機器人及其他基於 Markdown 的系統整合。 【主要功能】 • 將頁面和文章匯出為 Markdown 檔案 • 支援自訂頁面建構器(如 ACF Flexible Content、Elementor、Divi 等) • 提供 REST API 端點以便程式化存取 • 支援 WP-CLI 命令進行自動化 • 多語言支援 • 背景匯出模式適用於大型網站

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.3) 或搜尋安裝
① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Worddown」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Worddown is a powerful WordPress plugin that enables you to export your pages and posts to markdown files, making them perfect for integration with AI chatbots and other markdown-based systems. Key Features Export pages and posts to markdown files Support for custom page builders (ACF Flexible Content, Elementor, Divi classic shortcodes, etc.) REST API endpoints for programmatic access WP-CLI commands for automation Multilingual support Background export mode for large sites Customizable HTML content filters Adapters When a supported page builder is installed, enable it under Settings → Adapters: Divi — Classic Builder shortcode layouts ([et_pb_*], Divi 4 / unmigrated pages). Boots Divi modules during export so shortcodes render to HTML before Markdown conversion. Native Divi 5 block layouts () use the standard WordPress content pipeline and do not need this adapter. Modularity — Injects Modularity modules around main content when available. Export Methods WordPress Admin Dashboard WP-CLI Commands REST API Endpoints WP-CLI Support Export your content directly from the command line: wp worddown export For large sites, use background mode: wp worddown export --background REST API Access export functionality programmatically through REST API endpoints: GET /wp-json/worddown/v1/files – List all exported markdown files GET /wp-json/worddown/v1/files/{post_id} – Get specific file content POST /wp-json/worddown/v1/export – Trigger export Custom HTML Content Filters Customize your markdown output using WordPress filters: add_filter('worddown_custom_html_content', function($content, $post_id, $post_type) { if ($post_type === 'page') { $content .= '

My custom HTML for page ' . $post_id . '
'; } return $content; }, 10, 3); Custom Metadata Filter Add or override YAML front matter keys after Worddown assembles core metadata (respecting your Metadata to include settings): add_filter('worddown_custom_metadata', function($meta, $post_id, $context) { $meta['reading_time'] = get_post_meta($post_id, 'reading_time', true); return $meta; }, 10, 3); Parameters: $meta — Front matter array after admin toggles (add keys or overwrite existing ones) $post_id — Post ID being exported $context — Worddown\Export\PostContext with preloaded post data (read-only) Available Translations English Swedish (sv_SE) Development For development instructions and advanced usage, please visit the plugin repository. Build Process The plugin uses Vite for asset compilation. Development requirements: Node.js 16.0 or higher npm 8.0 or higher

延伸相關外掛


文章
Filter
Mastodon