$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>posts - How to activate Markdown in a local installation of WordPress 4.3?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

posts - How to activate Markdown in a local installation of WordPress 4.3?

matteradmin9PV0评论

As of version 4.3. it should be possible to activate markdown for my posts and comments (.shtml).

I found a description on / , but the settings mentioned are not visible in settings -> writing and settings -> discussion.

  • My role is Administrator
  • The installed version is Version 4.3

As of version 4.3. it should be possible to activate markdown for my posts and comments (http://news.softpedia/news/say-hello-to-wordpress-4-3-489688.shtml).

I found a description on https://en.support.wordpress/markdown/ , but the settings mentioned are not visible in settings -> writing and settings -> discussion.

  • My role is Administrator
  • The installed version is Version 4.3
Share Improve this question asked Aug 31, 2015 at 9:39 EdwardEdward 1533 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 3

WordPress 4.3 have no markdown implementation, it is only a short list of shortcuts. The shortcuts active on default. It give no UI area to active/deactivated them. As small hint for updates posts. I seen often, that works only on new posts, no old drafts. But I haven't debug this.

Which Formatting Shortcuts

WordPress 4.3 came with a new feature called formatting shortcuts. It allows users to quickly add common text formatting without removing their hands from the keyboard and without writing any HTML.

  • Using * or – will start an unordered list.
  • Using 1. or 1) will start an ordered list.
  • Using # will transform into h1. ## for h2, ### for h3 and so on.
  • Using > will transform into blockquote.

Deactivate shortcuts

The only way to deactivate is a small piece of code, like in a simple custom plugin.

add_filter( 'tiny_mce_before_init', 'fb_disable_mce_wptextpattern' );
function fb_disable_mce_wptextpattern( $opt ) {

    if ( isset( $opt['plugins'] ) && $opt['plugins'] ) {
        $opt['plugins'] = explode( ',', $opt['plugins'] );
        $opt['plugins'] = array_diff( $opt['plugins'] , array( 'wptextpattern' ) );
        $opt['plugins'] = implode( ',', $opt['plugins'] );
    }

    return $opt;
}

Maybe you can try Markdown Editor plugin. It supports WordPress 4.0 - 5.3

Source code: https://github/terrylinooo/githuber-md

Post a comment

comment list (0)

  1. No comments so far