Administrate::Field::SimpleMarkdown

Code Climate

A plugin to edit Markdown text in Administrate using SimpleMDE v1.11.2.

Demo

Usage

Add it to your Gemfile:

gem 'administrate-field-simple_markdown', '~> 0.0.2'

Run:

$ bundle install

Add to your FooDashboard:

ATTRIBUTE_TYPES = {
  bar: Field::SimpleMarkdown
}.freeze

The field will figure out the appropriate thousand separator and decimal delimiter for the unit.

About

Administrate::Field::SimpleMarkdown is maintained by z.productions.