plugin-icon

MarkBlocks – Markdown for Elementor

作者:Farhan Ahmed·
Write Markdown in Elementor and convert it into editable widgets with syntax-highlighted code blocks.
版本
1.0.2
最后更新
Aug 1, 2026

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.

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.3
这个插件是可用的下载,适用于您的站点。