Simplemde::Rails

Simplemde markdown editor.

Install

Add this line to your application's Gemfile:

gem 'simplemde-rails', :git => 'https://github.com/KHN190/simplemde-rails'

And then execute:

$ bundle install

Usage

<link rel="stylesheet" href="assets/simplemde.min.css">
<script src="assets/simplemde.min.js"></script>

Quick start

After installing, load SimpleMDE on the first textarea on a page

<script>
var simplemde = new SimpleMDE();
</script>

See more at the home page please.