Skip to content

robneu/cfs-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A Simple Markdown Add-On for Custom Field Suite

Resources

Stars

Watchers

Forks

Packages

No packages published