跳到内容

Draftdrop – Markdown Importer with Front Matter & SEO Fields

v0.1.6

corvet · 2026年11月12日 上架

Import Markdown files as WordPress drafts. Reads front matter: title, categories, tags, SEO fields and featured image. Gutenberg and Classic editor.

正在使用
10 以下
评分
暂无
累计下载
180
最近更新
2026年11月12日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

截图

Upload screen: choose Markdown files and see the supported front matter format.
Upload screen: choose Markdown files and see the supported front matter format.
Preview with checks: warnings, errors and duplicates are shown before anything is created.
Preview with checks: warnings, errors and duplicates are shown before anything is created.
Import finished: links to the new drafts and notes about categories that were created.
Import finished: links to the new drafts and notes about categories that were created.
The imported article in the block editor: headings, nested lists and tables as native blocks, with excerpt and featured image.
The imported article in the block editor: headings, nested lists and tables as native blocks, with excerpt and featured image.

Draftdrop lets you publish written articles without copying and pasting. Upload one or more .md files, check the preview, and create drafts in one step.

What it does

  • Reads front matter: title, slug, category, tags, excerpt, SEO title, meta description, focus keyphrase, featured image and image alt text.
  • Converts the article to native Gutenberg blocks (paragraphs, headings, lists, quotes, code, tables, images, separators). Anything unusual stays as a Custom HTML block, so nothing is lost. If your site uses the Classic editor, clean HTML is saved instead.
  • Saves the SEO fields in the format used by Yoast SEO.
  • Shows a preview with checks (missing description, title or description too long, duplicates) before anything is created.
  • Skips files that were already imported or whose slug already exists.
  • Saves everything as a draft (or “pending review”). Nothing is published automatically.

Safe by design

  • Capability checks (edit_posts, upload_files) and nonces on every action.
  • Article HTML is sanitized with the same rules WordPress uses for post content. Scripts and iframes are removed.
  • Uploaded files are read from the temporary upload location and are not stored on your server.

File format

---
title: Car Rental in Tenerife: Complete Guide
slug: car-rental-tenerife-guide
category: Guides
tags: [tenerife, car rental]
seo_title: Car Rental in Tenerife (2026 Guide)
meta_description: Everything you need to know before renting a car in Tenerife.
focus_keyword: car rental tenerife
featured_image: https://example.com/images/tenerife.jpg
image_alt: Rental car on a coastal road
---

The article body in Markdown.

Only title is required.

External services

Draftdrop makes no external requests on its own. The only exception: if a file contains a featured_image URL, the plugin downloads that image once, when you confirm the import, using the WordPress HTTP API (wp_safe_remote_get). No data about you or your site is sent.

Third-party libraries

  • Parsedown 1.8.0-beta-7 by Emanuil Rusev, MIT license. Included in lib/ (the class is renamed Draftdrop_Parsedown to avoid clashes with other plugins; otherwise unmodified). Source: https://github.com/erusev/parsedown

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums