外掛標籤
開發者團隊
原文外掛簡介
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.
