ember-simplemde
A wrapper around the SimpleMDE editor for use in ember-cli projects, it provides a component simple-mde
to show the editor, and a helper to show the rendered html simple-mde-preview
you can check this on the dummy app application template.
Usage on ember project
-
Install with ember install ember-simplemde
-
Use the component with:
// Controller
theValue: "This is a test of **simpleMDE**"
{{simple-mde value=theValue change=(action (mut theValue))}}
-
Use the helper like this:
{{simple-mde-preview theValue}}
Installation
git clone https://github.com/smith-carson/ember-simplemde.git
cd ember-simplemde
npm install
bower install
Running
Running Tests
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
For more information on using ember-cli, visit http://ember-cli.com/.