這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Parsedown Party

描述

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.

螢幕截圖

  • Parsedown Party in the post editor.

常見問題

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.

評價

閱讀全部1個評價

貢獻者及開發者

“Parsedown Party” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Parsedown Party 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Parsedown Party 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.