No commit activity in last 3 years
No release in over 3 years
A plugin for markdown fields in Administrate using SimpleMDE
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

< 1, > 0.8
~> 1.17.0
< 6.0, >= 4.2
 Project Readme

Administrate::Field::SimpleMDEMarkdown

A plugin for markdown fields in Administrate using simplemde

Installation

Add this line to your application's Gemfile:

gem 'administrate-field-simple_mde_markdown'

And then execute:

$ bundle

Or install it yourself as:

$ gem install administrate-field-simple_mde_markdown

Usage

Add to your FooDashboard:

ATTRIBUTE_TYPES = [
  bars: Field::SimpleMDEMarkdown,
]

You can also add any options as documented in the SimpleMDE docs

ATTRIBUTE_TYPES = [
  bars: Field::SimpleMDEMarkdown.with_options(simplemde: {
    autofocus: true,
    initialValue: 'Put your markdown here'
  }),
]

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Administrate::Field::SimpleMDEMarkdown project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.