WordPress.org

Ready to get started?Download WordPress

Forums

Wiki
[resolved] markdown support? (2 posts)

  1. cavendishqi
    Member
    Posted 2 months ago #

    Great wiki plugin!

    I am using 1.0.8.3 and curious whether it supports markdown?

    BTW, I am using "Markdown on Save Improved" now.

    Thanks.

    http://wordpress.org/plugins/wordpress-wiki-plugin/

  2. WPMU DEV
    Member
    Posted 2 months ago #

    Hi @cavendishqi,

    Thank you for your question.

    The "Markdown on Save Improved" supports only posts and pages by default.

    To support Custom Post Type which is used in Wiki plugin, you should add following code in the functions.php file of your child theme or add it in your site using any of the following plugins.

    add_action( 'init', 'wiki_add_markdown_support' );
    function wiki_add_markdown_support(){
        add_post_type_support( 'incsub_wiki', 'markdown-osi' );
    }

    http://wordpress.org/plugins/add-actions-and-filters/
    http://wordpress.org/plugins/code-snippets/

    Cheers,

Reply

You must log in to post.

About this Plugin

About this Topic

Tags