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.
-
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}}
git clone https://github.com/smith-carson/ember-simplemde.git
cd ember-simplemde
npm install
bower install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.