Title: Markdown on Save
Author: Mark Jaquith
Published: <strong>2010 年 9 月 27 日</strong>
Last modified: 2024 年 5 月 4 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/markdown-on-save.svg)

# Markdown on Save

 作者：[Mark Jaquith](https://profiles.wordpress.org/markjaquith/)

[下载](https://downloads.wordpress.org/plugin/markdown-on-save.1.3.1.zip)

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

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

## 描述

This plugin allows you to compose content in Markdown on a per-item basis. The markdown
version is stored separately (in the `post_content_filtered` column), so you can
deactivate this plugin and your posts won’t spew out Markdown, because HTML is stored
in the `post_content`, just like normal. This is also much faster than doing on-
the-fly Markdown conversion on every page load. It’s only done once! When you re-
edit the post, the markdown version is swapped into the editor for you to edit. 
If something external updates the post content, you’ll lose the Markdown version.

Note: this plugin assumes you’re using the Classic editor.

## 屏幕截图

 * [[
 * The Markdown logo you click to designate a post as containing Markdown. This 
   is the only UI for the plugin!

## 安装

 1. Upload the `markdown-on-save` folder to your `/wp-content/plugins/` directory
 2. Activate the “Markdown On Save” plugin in your WordPress administration interface
 3. Create a new post with Markdown, and click the Markdown logo in the publish metabox(
    see screenshot).
 4. Done! Now that post can be edited using Markdown, but will save as processed HTML
    on the backend.

## 常见问题

### How do I use Markdown syntax?

Please refer to this resource: [http://michelf.com/projects/php-markdown/extra/](
PHP Markdown Extra).

### What happens if I click the Markdown logo again?

Your post will no longer be interpreted as Markdown, you will be returned to the
normal editing experience.

### What happens if I decide I don’t want this plugin anymore?

Just deactivate it. The Markdown version is stored separately, so without the plugin,
you’ll just revert to editing the HTML version.

## 评价

![](https://secure.gravatar.com/avatar/55d097b3e377a8ac0ef8e5347b657edb79c5b8121e8c30c2eebef53ff5b57760?
s=60&d=retro&r=g)

### 󠀁[Simple. Works. As advertised.](https://wordpress.org/support/topic/simple-works-as-advertised-3/)󠁿

 [Ozh](https://profiles.wordpress.org/ozh/) 2026 年 5 月 7 日

Thanks Mark 🙂

![](https://secure.gravatar.com/avatar/9e7c7903630729c984f36a09a098423940a9fb033b903c1c106f8f48896dc3ff?
s=60&d=retro&r=g)

### 󠀁[Really good idea](https://wordpress.org/support/topic/really-good-idea-4/)󠁿

 [lovingboth](https://profiles.wordpress.org/lovingboth/) 2025 年 4 月 24 日

You have the advantage of using Markdown rather than the horrible Gutenberg block
system while also being able to let someone else edit in the Classic Editor.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/markdown-on-save/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3.1

 * Use the “extra” version of Markdown with all the features

#### 1.3

 * Modern PHP syntax
 * Better accessibility
 * Modern Markdown library using Composer

#### 1.2.1

 * Play better with other plugins that also use PHP Markdown Extra

#### 1.2

 * Update PHP Markdown Extra to 1.2.6
 * Keep track of which revisions were Markdown and which were not
 * Restore old revisions properly, including Markdown status
 * Fix a slashing bug that would prevent link titles from parsing
 * Fix a bug related to autosave
 * Use Dustin Curtis’ Markdown logo as a toggle
 * Work on the WP-specific XML-RPC API in addition to the generic API

#### 1.1.5

 * Fix a `stripslashes()` error

#### 1.1.4

 * XML-RPC support (use  to enable Markdown mode)

#### 1.1.3

 * Disables the Visual Editor if the post being edited is in Markdown mode

#### 1.1.2

 * Fix a slashes bug which would cause link titles to fail
 * Enable Markdown when posting remotely by using  anywhere in post content

#### 1.1.1

 * Fix bug which made the metabox show up on the Dashboard

#### 1.1

 * Some extra nonce protection
 * Enable the plugin for all content types, not just posts

#### 1.0

 * First public version
 * Fixed a regex bug that could break current menu highlighting. props skarab

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/markdown-on-save/)
 * 标签
 * [formatting](https://cn.wordpress.org/plugins/tags/formatting/)[markdown](https://cn.wordpress.org/plugins/tags/markdown/)
 *  [高级视图](https://cn.wordpress.org/plugins/markdown-on-save/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/markdown-on-save/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/markdown-on-save/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/markdown-on-save/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/markdown-on-save/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/markdown-on-save/reviews/?filter=1)

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

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

## 贡献者

 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

## 支持

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

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