Simplemde
Add SimpleMDE markdown editor to your Rails application.
Installation
Add this line to your application's Gemfile:
gem 'simplemde'
Usage
In your app/assets/javascripts/application.js
//= require jquery
//= require jquery_ujs
//= require simplemde
In your app/assets/Stylesheets/application.css
/*
*= require simplemde
*= require_tree .
*= require_self
*/
Add this to your [controller-name].coffe
$(document).on 'turbolinks:load', ->
simplemde = new SimpleMDE()
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/arsique/simplemde.
License
The gem is available as open source under the terms of the MIT License.