Linux 软件免费装
Banner图

Markup Markdown

开发者
更新时间 2024年11月28日 09:09
PHP版本: 5.6.0 及以上
WordPress版本: 6.7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

Editor Markdown

下载

3.6.4 3.10.2 1.1.0 2.0.2 3.5.0 3.6.6 3.2.6 1.8.1 3.3.4 3.3.6 2.6.1 3.10.0 3.10.1 1.5.1 2.1.0 3.0.0 2.1.1 1.1.1 1.5.0 3.2.0 3.3.7 3.3.8 2.4.0 2.0.0 2.0.1 3.4.2 3.2.2 2.5.0 3.2.4 1.6.0 1.9.1 1.2.2 1.9.2 2.2.2 3.8.0 3.0.1 1.0.1 1.1.2 1.1.3 1.2.4 1.2.5 1.3.1 1.3.2 1.2.1 1.2.3 1.3.3 1.4.0 1.5.2 1.5.3 1.5.4 1.7.0 1.7.3 3.2.3 3.8.1 2.2.0 2.2.1 3.3.2 2.2.3 2.3.0 3.3.3 2.5.1 2.6.0 3.4.0 3.2.5 3.4.1 3.4.5 3.8.2 3.7.1 3.6.5 3.7.0 3.7.2 3.7.3 1.9.3 3.7.4 3.7.5 3.9.0 3.9.1

详情介绍:

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:

常见问题:

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. = Is it still compatible with Gutenberg or any other builder? Yes but you can't use both at the same time ;-) Data are saved as pure markdown code in the database, for the other builders on the market data are saved as HTML or custom markups like shortcodes. Currently data are still saved but won't be converted or rendered correctly if you revert back or switch between editors.

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

Yes, please keep in mind it's a global switch for every user. You need to stick to one editor with one post type. Any block editor will be disabled for all the users of your Wordpress instance. filters are available to disable the markdown editor for specific custom post types at a global level. For example you can do a setup to use Divi or Elementor to edit your pages and Markdown to edit your blog'posts. Please refer to the forum to know how to do it.

Can I use it with custom fields? (Or within my theme)

Sure, developers & designers can access the public properties & methods of 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: <?php echo mmd()->markdown2html( get_post_meta( get_the_ID(), 'foo_bar' , true ) ); ?> Disclaimer: with the plugin Advanced Custom Field (ACF), HTML content has been sanitized since v6.2.5. If you need to render iframes or others elements, instead of using: <?php the_field( 'my_custom_field' ); ?> use <?php echo mmd()->markdown2html( get_field( 'my_custom_field' ) ); ?>

What's the deal with the beta interface?

The default editor is based on EasyMDE so you can write in markdown and use Wordpress feature at the same time. The side panel preview mode has been fixed since 3.0. The beta interface is based on SummerNote, a jQuery WYSIWYG Engine. The beta interface has been removed since 3.0 and will be available as a separate addon. It's a custom version so you can get a live rendering when typing your content or adding medias. It's not perfect, it's still working well but for now you will have to modify the code on your own (builder or database) if something goes wrong. To find out more check my article here: https://www.markup-markdown.com/blog/wordpress-plugins/dynamic-input-method-markdown/

Accessibility

The current version is based on components that are not compatible with assistive devices like screen readers. Several available alternative plugins could cover the gap while I'm working on a new interface. Thank you for your patience and your understanding.

更新日志:

3.10.2 Bug fixes: 3.10.1 Bug Fix: 3.10.0 Improvements: 3.9.1 Bug fix: 3.9.0 Improvement: 3.8.2 Bug fix: 3.8.1 Bug fix: 3.8.0 Improvement: If H1 heading is disabled from the options panel, then inside the WYSIYWIG you can use the sharp sign # for ordered list Bug fix: 3.7.4 Bug fix: Fixing javascript error with selective headings when Code Mirror's overlay mode was not active. (Related to enabled options) 3.7.3 Bug fix: Cleaning SVN Trunk >< Sorry for the inconvenience m(__)m 3.7.2 Bug fix: Quick patch to add missing stylesheets assets since 3.7.0 3.7.1 Bug fix: Quick patch to add an option to preserve spaces at the beginning of line 3.7.0 New feature: 3.6.6 Bug fix: 3.6.5 Quick bug fix: 3.6.4 Bug fix: Improvement: 3.6.3 Improvement: 3.6.2 Improvement: 3.6.1 Improvements: 3.6.1 Improvement: 3.6.0 Improvement: 3.5.0 New feature: 3.4.2 Improvements: 3.4.1 Improvements: 3.4.0 Improvement: 3.3.8 Bug fix: 3.3.7 Bug fix: 3.3.6 Bug fix: 3.3.5 Bug fix: 3.3.4 Bug fixes: 3.3.3 Bug fix: 3.3.2 Bug fix: 3.3.1 Improvements: 3.2.6 Readme.txt Updated 3.2.5 Improvement: 3.2.4 Bug fix: 3.2.3 Bug fix: 3.2 Bug fix: 3.1.0 Improvements: 3.0.1 Hotfix: 3.0.0 Refactored ! New feature: 2.6.1 Bug fix: 2.6.0 Improvement: 2.5.1 Bug fixes: 2.5.0 Improvement: 2.4.0 Improvements: Possible to do the following actions from the media uploader 2.3.0 Improvements: 2.2.2 Bug fix: 2.2.1 Bug fixes: 2.2.0 Improvement: 2.1.2 Bug fixes: 2.1.0 Improvements: 2.0.2 Bug fix: 2.0.1 Bug fixes: 2.0.0 Code refactoring. Addon framework created ! Please setup and save again your settings again if need be. Sorry for the inconvenience. New feature: 1.9.3 Improvement: 1.9.2 Bug fixes: 1.9.1 New features: 1.7.4 1.7.3 Bug Fixes : 1.7.2 Improvements: 1.7.1 Improvements: php add_action('init', function() { remove_post_type_support('post_type_slug', 'markup_markdown'); }); Bug Fixes: 1.6.0 Improvements: 1.5.4 Bug Fix: 1.5.3 Improvement: Ex: https://vimeo.com/30198629/&quality=360p 1.5.2 Bug Fixes: 1.5.1 Bug Fixes: 1.5.0 Experimental UI: Adding modern syntax via summernote wysiwyg Find out more here: https://www.youtube.com/watch?v=cl2P5zUXAmU 1.4.0 Improvement: Parsedown extra plugins added so you use extra features 1.3.3 Bug Fixes: 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: