Simple Export to Markdown

外掛說明

Simple Export to Markdown adds a small, useful panel inside the WordPress block editor.
With a single click, you can export the current post or page to Markdown — either download a .md file or copy it directly to the clipboard.

The plugin uses the Turndown library to accurately convert Gutenberg blocks into Markdown syntax, preserving headings, paragraphs, images, lists, quotes, and other standard content.

Features

  • Export any Gutenberg post or page directly to Markdown.
  • Two modes: Download .md or Copy to Clipboard.
  • Auto-generated YAML front matter (title, slug, date, categories, tags).
  • Works natively inside the block editor — no admin pages or complex settings.
  • Lightweight (under 14 KB of JS), no tracking, no external API calls.

Requirements

  • WordPress 6.0 or newer.
  • PHP 7.4 or newer.
  • Active Gutenberg (block) editor.

License

This plugin is open-source software licensed under the GPLv2 (or later).
© 2025 Pavel Sherer

螢幕擷圖

  • Gutenberg editor with the Export to Markdown panel in the right sidebar.
  • Example Markdown file with generated YAML front matter.

安裝方式

  1. Upload the plugin folder to your /wp-content/plugins/ directory, or install the plugin directly via the WordPress Plugins screen.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Open any post or page in the Gutenberg editor — you’ll see a new sidebar panel named Export to Markdown.
  4. Click Download .md to save a Markdown file, or Copy Markdown to copy the generated text into your clipboard.

常見問題集

Where can I find the export button?

In the Gutenberg editor sidebar (click the Settings icon if the sidebar is hidden), under a panel titled “Export to Markdown”.

Does this work in the Classic Editor?

No. The plugin only works in the modern block (Gutenberg) editor.

Can I export custom blocks?

Yes. Custom blocks will be serialized as HTML before Markdown conversion. Standard HTML will appear correctly in your Markdown output.

Does it save files on the server?

No. All conversion and download happen locally in your browser for security and privacy.

使用者評論

2026 年 5 月 20 日
Works as expected. Simple and clean.Would be great to see a bulk action added for exporting all posts at once as a zip file.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Export to Markdown〉的開發相關工作。

參與者

〈Simple Export to Markdown〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Simple Export to Markdown〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄