A Simple Markdown Add-On for Custom Field Suite
CSS PHP JavaScript
Latest commit 0668bfa Feb 22, 2015 @robneu Adjusted styles for headers dropdown
Moving the headers dropdown over required some minor style changes
Permalink
Failed to load latest commit information.
assets Adjusted styles for headers dropdown Feb 21, 2015
includes Added script enqueues Feb 21, 2015
CHANGELOG.md Version bump Feb 21, 2015
README.md Re-worded description Feb 21, 2015
cfs-markdown.php Version bump Feb 21, 2015

README.md

Custom Field Suite Markdown Add-On

A simple Markdown add-on for Custom Field Suite

Contributors: Robert Neu
Requires: CFS 2.4, WordPress 4.1.1
Tested up to: CFS 2.4, WordPress 4.1.1
License: GPL-2.0+

This is a small add-on for Custom Field Suite which adds a Markdown field type. The field works similarly to the standard textarea input except that it accepts Markdown syntax. In addition to being able to parse and display markdown correctly on the front end, the field also features a WYSIWYG-ish toolbar and a live Markdown preview window to make adding Markdown easier.

Standard Field

Loop Field

Markdown support is added using the Parsedown class by Emanuil Rusev.

Markdown preview and WYSIWYG toolbar uses a modified version of Meltdown

Installation

  • Click the "Download ZIP" button on the right side of this GitHub page.
  • Upload the unzipped folder into the /wp-content/plugins/ directory, OR
  • Upload the zip file into WordPress (Plugins > Add New > Upload)
  • Activate the plugin (CFS must also be active)

Git

Clone this repository in /wp-content/plugins/:

git clone https://github.com/robneu/cfs-markdown.git

Then go to the Plugins screen in your WordPress admin panel and click the Activate link under CFS - Markdown Add-On.

Updating

There are a couple of plugins for managing updates to GitHub-hosted plugins. Either of these should notify you when this plugin is updated: