Sha256: fc4a613ea31cdddbea4fb1865f9cebc7d7e3e97b1667991fd2b03a99c3e1de5f

Contents?: true

Size: 991 Bytes

Versions: 1

Compression:

Stored size: 991 Bytes

Contents

# Administrate::Field::SimpleMarkdown

[![Code Climate](https://codeclimate.com/github/zooppa/administrate-field-simple_markdown/badges/gpa.svg)](https://codeclimate.com/github/zooppa/administrate-field-simple_markdown)

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

![Demo](https://raw.githubusercontent.com/zooppa/administrate-field-simple_markdown/master/demo.gif)

## Usage

Add it to your `Gemfile`:

```ruby
gem 'administrate-field-simple_markdown', '~> 0.0.4'
```

Run:

```bash
$ bundle install
```

Add to your `FooDashboard`:

```ruby
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].

[Administrate]: https://github.com/thoughtbot/administrate
[SimpleMDE]: https://github.com/NextStepWebs/simplemde-markdown-editor
[z.productions]: https://www.z.productions/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-field-simple_markdown-0.0.4 README.md