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.

评价

此插件暂无评价。

贡献者及开发者

「Simple Export to Markdown」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Simple Export to Markdown」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Simple Export to Markdown」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志