Title: MarkDown Block
Author: Isamu Takeda
Published: <strong>2025 年 4 月 13 日</strong>
Last modified: 2025 年 4 月 27 日

---

搜索插件

![](https://ps.w.org/markdown-block/assets/banner-772x250.png?rev=3271656)

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

# MarkDown Block

 作者：[Isamu Takeda](https://profiles.wordpress.org/itmaroon/)

[下载](https://downloads.wordpress.org/plugin/markdown-block.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/markdown-block/#description)
 * [评价](https://cn.wordpress.org/plugins/markdown-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/markdown-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/markdown-block/#developers)

 [支持](https://wordpress.org/support/plugin/markdown-block/)

## 描述

This block has the function of editing Markdown documents using SimpleMDE, and by
parsing Markdown documents using marked, it can assign specific blocks to the converted
HTML elements.
 This function allows users to customize Markdown documents using
the styling functions of the corresponding blocks, allowing for a wide range of 
styling. The following are the blocks that are applied when Markdown documents are
parsed into HTML elements.

 1. H element: itmar/design-title
 2. P element: core/paragraph
 3. PRE element: itmar/code-highlight
 4. IMG element: core/image
 5. BLOCKQUOTE element: core/quote
 6. LI element: core/list
 7. TABLE element: core/table

The H element is also generated as a table of contents, and has the function of 
displaying nested items according to level.
 This plugin does not require any external
resources (all scripts and styles are included locally)

### Related Links

 * [markdown-block:Github](https://github.com/itmaroon/markdown-block)
 * [block-class-package:GitHub](https://github.com/itmaroon/block-class-package)
 * [block-class-package:Packagist](https://packagist.org/packages/itmar/block-class-package)
 * [itmar-block-packages:npm](https://www.npmjs.com/package/itmar-block-packages)
 * [itmar-block-packages:GitHub](https://github.com/itmaroon/itmar-block-packages)

### Arbitrary section

 1. PHP class management is now done using Composer.
     [GitHub](https://github.com/itmaroon/block-class-package)
    [Packagist](https://packagist.org/packages/itmar/block-class-package)
 2. I decided to make functions and components common to other plugins into npm packages,
    and install and use them from npm.
     [npm](https://www.npmjs.com/package/itmar-block-packages)
    [GitHub](https://github.com/itmaroon/itmar-block-packages)

### External services

 1. This plugin uses EasyMDE to implement the editing function of Markdown documents.
    This is an open source JavaScript library provided under the MIT license.
     [EasyMDE LICENSE](https://github.com/Ionaru/easy-markdown-editor/blob/master/LICENSE)
    EasyMDE comes with a spell check feature. When using this feature, it will try 
    to load an external file (en_US.aff / en_US.dic) from a CDN. To avoid this, this
    plugin sets spellChecker: false, when instantiating EasyMDE, so that the external
    file will not be loaded.
 2. This plugin uses marked to parse Markdown documents and convert them to HTML elements.
    This is an open source JavaScript library provided under the MIT license.
     [marked LICENSE](https://github.com/markedjs/marked/blob/master/LICENSE.md)

## 屏幕截图

[⌊On the left is the Markdown document editing area, and on the right is the preview
after styling and the block editing area.⌉⌊On the left is the Markdown document 
editing area, and on the right is the preview after styling and the block editing
area.⌉[

On the left is the Markdown document editing area, and on the right is the preview
after styling and the block editing area.

[⌊HTML element style management and table of contents settings screen⌉⌊HTML element
style management and table of contents settings screen⌉[

HTML element style management and table of contents settings screen

[⌊Front-end display including table of contents⌉⌊Front-end display including table
of contents⌉[

Front-end display including table of contents

[⌊Front-end display with top table of contents open⌉⌊Front-end display with top 
table of contents open⌉[

Front-end display with top table of contents open

[⌊Responsive design⌉⌊Responsive design⌉[

Responsive design

[⌊Responsive design with table of contents open⌉⌊Responsive design with table of
contents open⌉[

Responsive design with table of contents open

## 区块

该插件提供了 1 个区块.

 *   Mark Down

## 安装

 1. From the WP admin panel, click “Plugins” -> “Add new”.
 2. In the browser input box, type “Markdown Block”.
 3. Select the “Markdown Block” plugin and click “Install”.
 4. Activate the plugin.

OR…

 1. Download the plugin from this page.
 2. Save the .zip file to a location on your computer.
 3. Open the WP admin panel, and click “Plugins” -> “Add new”.
 4. Click “upload”.. then browse to the .zip file downloaded from this page.
 5. Click “Install”.. and then “Activate plugin”.

## 评价

此插件暂无评价。

## 贡献者及开发者

「MarkDown Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Isamu Takeda ](https://profiles.wordpress.org/itmaroon/)

[帮助将「MarkDown Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/markdown-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/markdown-block/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/markdown-block/)，或通过[RSS](https://plugins.trac.wordpress.org/log/markdown-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/markdown-block/)。

## 更新日志

#### 1.1.0

 * Regarding the method of loading composer components, a mechanism has been introduced
   that does not conflict with other plugins. Accordingly, the composer components
   have been updated.
 * Operation check with WordPress 6.8

#### 1.0.0

 * Release

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/markdown-block/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[blog](https://cn.wordpress.org/plugins/tags/blog/)
   [markdown](https://cn.wordpress.org/plugins/tags/markdown/)[post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/markdown-block/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/markdown-block/reviews/)

## 贡献者

 *   [ Isamu Takeda ](https://profiles.wordpress.org/itmaroon/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/markdown-block/)