pressbooks/parsedown-party 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pressbooks/parsedown-party

最新稳定版本:1.3.0

Composer 安装命令:

composer require pressbooks/parsedown-party

包简介

Markdown editing for WordPress.

README 文档

README

Contributors: conner_bw, greatislander, steelwagstaff Tags: markdown, parsedown
Requires at least: 6.8
Tested up to: 6.9.1
Requires PHP: 8.3

Stable tag: 1.3.0

License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Markdown editing for WordPress.

Description

This plugin lets you use Markdown for individual posts on a case-by-case basis. Markdown can be activated using a toggle in the post editor submit box. When enabled, it replaces the WordPress post editor with CodeMirror in Markdown mode.

Works on posts using the Classic Editor. Gutenberg is currently not supported.

Testing

The test-sample.md file includes comprehensive examples of various Markdown and Parsedown Extra features for testing purposes. To test the Markdown functionality locally:

  1. Create or edit a page using the Classic Editor
  2. Enable Markdown using the toggle in the Publish box (sidebar)
  3. Paste the contents of test-sample.md into the post editor
  4. Click "Preview" to view the rendered output
  5. Confirm that all Markdown features are properly parsed (headers, lists, code blocks, tables, etc.)

Screenshots

1. Parsedown Party in the post editor.

Parsedown Party in the post editor.

Frequently Asked Questions

If I turn this on for a post, can I go back to HTML if I change my mind?

Yes.

Can I automatically enable Markdown for all new posts?

Yes. Add the following line to your theme's functions.php (or another suitable place):

add_filter( 'parsedownparty_autoenable', '__return_true' );

Is this plugin compatible with Pressbooks?

Yes.

Does this plugin work with Gutenberg?

Not yet. It works on posts using the Classic Editor. The block editor is currently not supported.

I'm a software developer, how can I help?

This plugin follows Pressbooks coding standards and development happens on GitHub.

The philosophy behind this plugin is: Take a best of breed Markdown Parser, combine it with WordPress' built-in CodeMirror libraries, and let users write posts in Markdown. Things like two-pane WYSIWYG editors are out of scope for this particular plugin (the Preview button works fine.) The design goal is to modify WordPress Core as little as possible while providing decent Markdown support for content.

What about Gutenberg? Haven't started yet. Tiny MDE looks like a good place to get ideas.

Changelog

1.2.2

  • Compatibility with WordPress 6.8.3
  • Updated composer dependencies

1.2.1

  • Compatibility with WordPress 5.3 (and Classic Editor)
  • Updated composer dependencies

1.2.0

  • Compatibility with WordPress 5.1 (and Classic Editor)
  • Fixed paragraphs following tables

1.1.1

  • Fix cache glitch when previewing.

1.1.0

  • When enabling Markdown on an existing post, convert HTML to Markdown.
  • Cache parsed content using transients.

1.0.2

  • Update Parsedown to version 1.7.1

1.0.1

  • Add parsedownparty_autoenable filter to allow Markdown to be enabled by default.

1.0.0

  • Initial release.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固