plugin-icon

Markdown Editor

Replaces the default WordPress editor with a Markdown editor for your posts and pages.
تقييمات
4.3
آخر تحديث
April 6, 2018
النسخة
0.1.7
التنصيبات النشطة
400
Markdown Editor

Markdown Editor replaces the default WordPress editor with a Markdown editor for your posts and pages. This plugin uses the Jetpack Markdown module for converting Markdown into HTML and plays nicely with Jetpack if both plugins are installed.

There are 4 editor layouts to choose from when writing posts: default, preview, full-screen and split screen. Changes are updated automatically allowing you to preview your content as you write.

By default Markdown Editor is only enabled on Posts, but you can enable it on pages and custom post types by adding post type support. For example to add Markdown support to Pages, add the following line of code to your theme’s functions.php file:

add_post_type_support( 'page', 'wpcom-markdown' );

To add Markdown support to a ‘Product’ custom post type, add this to your theme’s functions.php file:

add_post_type_support( 'product', 'wpcom-markdown' );

Syntax Highlighting

By default, Markdown Editor enables syntax highlighting for code blocks. This can be removed by adding the following line of code to your theme’s functions.php file:

add_filter( 'markdown_editor_highlight', '__return_false' );

The click to copy button can be removed with the following line:

add_filter( 'markdown_editor_clipboard', '__return_false' );
مجانيعلى خطة Creator
إذا قمت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم وشروط إضافات الأطراف الثالثة.
التنصيبات النشطة
400
تم اختباره حتى
4.9.26
تتوافر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت المستضافة ذاتيًا على ووردبريس لديك.