Markup Markdown

描述

This plugin replaces the Gutenberg block editor (or the classic TinyMCE) on the edit screen with EasyMDE, a markdown editor based on CodeMirror.

The content is saved with the markdown syntax in the database and is rendered on the frontend via wordpress native filters thanks to the Parsedown PHP library.

This extension rocks :
– Static cache files since 1.3
– Support with lightbox and masonry for the gallery layout
– Autoconvert Youtube & Vimeo links to iframes

That’s pretty all you should know. It’s under active development, keep in touch and feel free to drop a line on the forum.

常見問題

How to install

The same as usual :

  1. Just download and upload the zip file to your wordpress instance. Or install directly by simply searching from the WP plugin panel.
  2. Activate the extension.

All done ! That’s all you should do.

Can I switch between editors or allow the markdown editor for specific users ?

NO YOU CAN’T. This plugin disables FOR ALL THE USERS OF YOUR WORDPRESS INSTANCE any block editor.
Just thumb up the idea on the forum and I will reconsider the priority depending on the demand.
I’m focusing on maintaining and implementing new features for my own use right now so it’s still a global setting everywhere for everyone.

Is it compatible with Elementor or Divi ?

For now as described earlier NO, at least to edit the post & page content. To be honnest I didn’t test it,
considering any editor will be replaced by this one, you will be limited to manage your block.
You have to choose one, only 1. 😉

How can I use it within my theme ?

Developers & designers can access the instance inside their templates through the global mmd function.
For example let’s say you want to use it with a custom field called ‘foo_bar’.
You can use something like that :
`echo mmd()->markdown2html( get_post_meta( get_the_ID(), ‘foo_bar’ , true ) );

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Markup Markdown 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.3.2

Bug Fix : adding rules if cache directory not available

1.3.1

Adding cache via static files in the mmd-cache directory.

1.2.5

Adding Vimeo support. Vimeo links will be converted to iframes.

1.2.4

Bug Fix : Enabling gallery with archive templates

1.2.3

Bug Fix : Editor styles adjusted with WordPress

1.2.2

Bug Fix : Single image button not working properly

1.2.1

New Feature : Image Gallery using Lightbox and Masonry for the image gallery post format

1.1.2

Bug fix : modal preloading (Double click was required to add an image from the library)

1.1.1

Adding Youtube support. Youtube links will be converted to iframes.

1.0.1

Updates to match the WordPress Plugin Directory requirements

1.0.0

First version ! ! ! Based on :
– Javascript easyMDE 2.15.0
– PHP Parsedown 1.7.4

Developers can access the instance instance through the mmd() global function