Title: MarkBlocks – Markdown for Elementor
Author: Farhan Ahmed
Published: <strong>2026 年 8 月 1 日</strong>
Last modified: 2026 年 8 月 1 日

---

搜尋外掛

![](https://ps.w.org/markblocks/assets/icon-256x256.png?rev=3631186)

# MarkBlocks – Markdown for Elementor

 由 [Farhan Ahmed](https://profiles.wordpress.org/ilfarhanahmed/) 開發

[下載](https://downloads.wordpress.org/plugin/markblocks.1.0.2.zip)

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

 [技術支援](https://wordpress.org/support/plugin/markblocks/)

## 外掛說明

MarkBlocks lets you write and maintain technical articles in Markdown directly inside
Elementor.

The plugin provides two Elementor widgets:

 * **Markdown Article** renders headings, paragraphs, lists, task lists, links, 
   images, tables, blockquotes, dividers, inline code, and fenced code blocks while
   preserving the original Markdown source.
 * **Markdown Code Block** displays standalone code snippets with language-aware
   highlighting, light and dark themes, optional line wrapping, and an accessible
   copy button.

The Markdown Article widget can also convert Markdown into editable Elementor Heading,
Text Editor, Divider, Image, and Markdown Code Block widgets.

[Check Demo.](https://farhan.ch/markblocks)

### Supported syntax

 * ATX and Setext headings
 * Paragraphs and inline formatting
 * Ordered, unordered, and task lists
 * Blockquotes
 * Markdown tables with left, center, and right alignment
 * Links and images
 * Horizontal rules
 * Inline and fenced code

### Syntax highlighting

The bundled dependency-free highlighter recognizes FortiOS CLI, Bash, JSON, Python,
PHP, JavaScript, TypeScript, SQL, YAML, PowerShell, HTML/XML, CSS, and INI-style
configuration.

### Security and privacy

 * Raw HTML in Markdown is escaped.
 * Rendered HTML is filtered with a strict WordPress KSES allowlist.
 * Unsafe URL schemes and protocol-relative URLs are rejected.
 * Converted text is protected from unintended shortcode execution.
 * Input size, line count, nesting, conversion count, and highlighting limits reduce
   resource-exhaustion risk.
 * The plugin does not add custom AJAX actions, REST routes, uploads, SQL queries,
   remote server requests, telemetry, or executable-code evaluation.
 * If an author embeds an external image URL, a visitor’s browser requests that 
   image from its host as part of normal page rendering.

MarkBlocks is an independent add-on and is not affiliated with or endorsed by Elementor
Ltd.

## 螢幕擷圖

[⌊MarkBlocks Markdown editor showing Markdown source and live Elementor output.⌉⌊
MarkBlocks Markdown editor showing Markdown source and live Elementor output.⌉[

MarkBlocks Markdown editor showing Markdown source and live Elementor output.

[⌊Published technical article created with MarkBlocks.⌉⌊Published technical article
created with MarkBlocks.⌉[

Published technical article created with MarkBlocks.

## 安裝方式

 1. Upload the `markblocks` folder to `/wp-content/plugins/`, or install the release
    ZIP through **Plugins  Add New Plugin  Upload Plugin**.
 2. Activate **MarkBlocks – Markdown for Elementor**. Elementor is declared as a required
    plugin dependency.
 3. Edit a page or post with Elementor.
 4. Add the **Markdown Article** widget from the **MarkBlocks** category.
 5. Paste Markdown and render it directly or use **Convert / Update Elementor Blocks**.

## 常見問題集

### Does MarkBlocks keep the original Markdown?

Yes. The Markdown Article widget stores the original source so it can be edited 
later.

### Are converted Elementor widgets synchronized back to Markdown?

No. The Markdown source remains canonical. Changes made directly to generated Elementor
widgets are not written back into the Markdown field.

### How are images handled?

Standalone Markdown images become Elementor Image widgets during conversion. Live
Markdown rendering uses the supplied URL. MarkBlocks does not download remote images
into the WordPress Media Library.

### Can I use raw HTML inside Markdown?

Raw HTML is escaped rather than executed for security.

### Does MarkBlocks send data to an external service?

No. MarkBlocks has no telemetry and makes no server-side remote requests. External
images included by an author are requested by the visitor’s browser when the page
is viewed.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈MarkBlocks – Markdown for Elementor〉的開發相關工作。

參與者

 *   [ Farhan Ahmed ](https://profiles.wordpress.org/ilfarhanahmed/)

[將〈MarkBlocks – Markdown for Elementor〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/markblocks)

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

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

## 變更記錄

#### 1.0.2

 * Removed global admin notices and kept dependency and compatibility checks silent.
 * Aligned the package, main file, and translation domain with the requested `markblocks`
   WordPress.org slug.
 * Added WordPress 7.0 and Elementor 4.2 compatibility metadata.
 * Improved keyboard focus, status announcements, copy-button feedback, and right-
   to-left layout behavior.
 * Strengthened Markdown line-limit handling for LF, CRLF, and CR line endings.
 * Localized editor-converter messages and scoped conversion status to the active
   control.
 * Tightened generated-container ownership checks while preserving existing widget
   identifiers.
 * Cleaned the release archive of hidden operating-system and repository files.
 * Confirmed compatibility testing with Elementor 4.2.1.
 * Added the correctly framed MarkBlocks icon and bundled showcase images.

#### 1.0.1

 * Added WordPress.org metadata, GPL licensing files, direct-access guards, security
   hardening, and table-alignment corrections.

#### 1.0.0

 * Initial public release.

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **7 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.3**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/markblocks/)
 * 標籤:
 * [Code Blocks](https://tw.wordpress.org/plugins/tags/code-blocks/)[elementor](https://tw.wordpress.org/plugins/tags/elementor/)
   [markdown](https://tw.wordpress.org/plugins/tags/markdown/)[page builder](https://tw.wordpress.org/plugins/tags/page-builder/)
   [syntax highlighting](https://tw.wordpress.org/plugins/tags/syntax-highlighting/)
 *  [進階檢視](https://tw.wordpress.org/plugins/markblocks/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Farhan Ahmed ](https://profiles.wordpress.org/ilfarhanahmed/)

## 技術支援

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

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