Title: ERA Markdown Importer
Author: eraai
Published: <strong>2026 年 6 月 21 日</strong>
Last modified: 2026 年 6 月 21 日

---

搜尋外掛

![](https://ps.w.org/era-markdown-importer/assets/icon-256x256.png?rev=3580432)

# ERA Markdown Importer

 由 [eraai](https://profiles.wordpress.org/eraai/) 開發

[下載](https://downloads.wordpress.org/plugin/era-markdown-importer.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/era-markdown-importer/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/era-markdown-importer/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/era-markdown-importer/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/era-markdown-importer/#developers)

 [技術支援](https://wordpress.org/support/plugin/era-markdown-importer/)

## 外掛說明

ERA Markdown Importer is a lightweight, secure, and developer-friendly tool designed
to streamline your content creation workflow. If you write your articles in Markdown-
based applications like Obsidian, Notion, VS Code, or Typora, this plugin completely
eliminates the need for manual copy-pasting, manual formatting, and layout adjustments.

The plugin converts standard Markdown elements (headings, paragraphs, lists, blockquotes,
tables, and code blocks) into native, editable Gutenberg Blocks instantly.

### Core Features

 * **Drag-and-Drop Uploader:** Beautiful, minimalist administration interface inspired
   by modern design principles (shadcn/ui style).
 * **Gutenberg Blocks Conversion:** Automatically generates native Gutenberg block
   comments (such as `wp:paragraph`, etc.) instead of inserting raw HTML, ensuring
   clean and native editing inside the block editor.
 * **YAML Front-Matter Support:** Automatically parses settings like title, status(
   draft/publish), post type, categories, and tags directly from your file header.
 * **Table Spacing Auto-Fix:** Automatically pre-processes Markdown tables to ensure
   they parse and align correctly in the WordPress table block.
 * **Enhanced Security Hardening:**
    - Enabled Parsedown **Safe Mode** to automatically escape and strip raw HTML
      tags, inline scripts, and unsafe protocols (e.g. `javascript:` links).
    - Explicit sanitization of custom and extracted post titles via `sanitize_text_field()`.
    - Enforced 500KB maximum file size limits to prevent server memory exhaustion(
      DoS).
    - Enforced strict nonces, capability checks, and file validation.

## 安裝方式

 1. Upload the `era-markdown-importer` folder to the `/wp-content/plugins/` directory,
    or upload the ZIP file through the WordPress admin panel.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Access the tool under **Tools > Markdown Importer** in your WordPress sidebar.

## 常見問題集

### Does this plugin support custom post types?

Yes, you can choose to import files as standard Posts, Pages, or any public Custom
Post Type registered on your site.

### Does it support YAML Front Matter?

Yes, it automatically parses YAML headers at the beginning of the file to map the
post title, status, categories, and tags.

### Is it Gutenberg compatible?

Yes, it converts Markdown elements into native, editable block editor blocks.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ eraai ](https://profiles.wordpress.org/eraai/)

[將〈ERA Markdown Importer〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/era-markdown-importer)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/era-markdown-importer/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/era-markdown-importer/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/era-markdown-importer/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/era-markdown-importer/)。

## 變更記錄

#### 1.0.2

 * **Compliance & Security:** Removed debug logging logic and resolved a potential
   mock backdoor in developer mode.
 * **Uninstall Routine:** Integrated database cleanup for custom plugin options.

#### 1.0.1

 * **Security Hardening:** Activated Parsedown Safe Mode to prevent Stored XSS and
   HTML injection.
 * **Input Sanitization:** Added explicit title sanitization using `sanitize_text_field()`.
 * **Resource Optimization:** Reduced maximum file size limit from 2MB to 500KB 
   to prevent memory exhaustion.
 * **UI/UX Updates:** Reflected the 500KB limit in the admin UI drag-and-drop zone.

#### 1.0.0

 * Initial release. Core drag-and-drop uploader, Parsedown parser, and HTML-to-Gutenberg
   block converter.

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **1 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/era-markdown-importer/)
 * 標籤:
 * [gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)[importer](https://tw.wordpress.org/plugins/tags/importer/)
   [markdown](https://tw.wordpress.org/plugins/tags/markdown/)[markdown importer](https://tw.wordpress.org/plugins/tags/markdown-importer/)
   [obsidian](https://tw.wordpress.org/plugins/tags/obsidian/)
 *  [進階檢視](https://tw.wordpress.org/plugins/era-markdown-importer/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/era-markdown-importer/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/era-markdown-importer/reviews/)

## 參與者

 *   [ eraai ](https://profiles.wordpress.org/eraai/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/era-markdown-importer/)