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 :
- Just download and upload the zip file to your wordpress instance. Or install directly by simply searching from the WP plugin panel.
- 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 ) );
Markup Markdown はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。貢献者
Bug Fix :
– Site id used for the static cache rules, now compatible with network sites
– Regexp updated for vimeo videos
– Espaced quotes and lower filter priorities so other shortcodes can be parsed properly
Bug Fix : adding rules if cache directory not available
Adding cache via static files in the mmd-cache directory.
Adding Vimeo support. Vimeo links will be converted to iframes.
Bug Fix : Enabling gallery with archive templates
Bug Fix : Editor styles adjusted with WordPress
Bug Fix : Single image button not working properly
New Feature : Image Gallery using Lightbox and Masonry for the image gallery post format
Bug fix : modal preloading (Double click was required to add an image from the library)
Adding Youtube support. Youtube links will be converted to iframes.
Updates to match the WordPress Plugin Directory requirements
First version ! ! ! Based on :
– PHP Parsedown 1.7.4
Developers can access the instance instance through the mmd() global function