CMB2 Markdown

By ryanpmckenna

10+ active installationsVersion 1.0.1

Adds a Markdown enabled textarea with a live preview to the available CMB2 field types.

Description

Example Usage

$cmb->add_field( array(
    'name' => 'Markdown Enabled Field',
    'type' => 'text_markdown',
    'id'   => 'test_markdown',
    'sanitization_cb' => 'markdown_sanitize'
) );

It works with repeatable fields as well!

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload cmb2-markdown to the /wp-content/plugins/ directory

Changelog

1.0

  • Published