Administrate::Field::SimpleMarkdown
A plugin to edit Markdown text in Administrate using SimpleMDE v1.11.2.
Usage
Add it to your Gemfile
:
gem 'administrate-field-simple_markdown', '~> 0.3.0'
Run:
$ bundle install
Add to your FooDashboard
:
ATTRIBUTE_TYPES = {
bar: Field::SimpleMarkdown.({
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
})
}.freeze
About
Administrate::Field::SimpleMarkdown is maintained by Zooppa.
See also the list of contributors who participated in this project.