Sha256: 32f633d50410f126275c7220b1f380d6a9b5eb5d03a187ac2eacece7333e8b5e
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
# Administrate::Field::SimpleMarkdown [](https://travis-ci.com/zooppa/administrate-field-simple_markdown) [](https://codeclimate.com/github/zooppa/administrate-field-simple_markdown) A plugin to edit Markdown text in [Administrate] using [EasyMDE].  --- ### IMPORTANT NOTICE **This gem is not actively maintained anymore**. If you’re interested in taking over and steward the project moving forward, please get in touch. --- ## Usage Add it to your `Gemfile`: ```ruby gem 'administrate-field-simple_markdown', '~> 0.7.0' ``` Run: ```bash $ bundle install ``` Add to your `FooDashboard`: ```ruby ATTRIBUTE_TYPES = { bar: Field::SimpleMarkdown.with_options({ safe_links_only: true, filter_html: true, with_toc_data: true, hard_wrap: true, link_attributes: { rel: 'follow' }, autolink: true, tables: true, no_intra_emphasis: true, strikethrough: true, highlight: true, space_after_headers: true, easymde_options: { placeholder: 'Type here...', spell_checker: false, hide_icons: %w[guide heading] } }) }.freeze ``` You can pass EasyMDE a configuration object via the `easymde_options` option. Check the [full list of available options](https://github.com/Ionaru/easy-markdown-editor#options-list). ## About Administrate::Field::SimpleMarkdown is maintained by [Zooppa]. See also the list of [contributors](https://github.com/zooppa/administrate-field-simple_markdown/contributors) who participated in this project. [administrate]: https://github.com/thoughtbot/administrate [easymde]: https://github.com/Ionaru/easy-markdown-editor [zooppa]: https://www.zooppa.com/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-simple_markdown-0.7.0 | README.md |