react-simplemde

React SimpleMDE ===============

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-simplemde
0.0.28 years ago8 years agoMinified + gzip package size for react-simplemde in KB

Readme

React SimpleMDE =============== Simple React component wrapper for SimpleMDE.

Install

``` npm install --save react-simplemde ```

Usage

``` javascript var React = require('react'); var ReactSimpleMDE = require('react-simplemde'); module.exports = React.createClass({ render: function () {
var text = '# This a markdown file.';
return (
<div>
<ReactSimpleMDE initialValue={text} />
</div>
);
} }); ``` All the props are passed as options to SimpleMDE, except spellChecker as it was causing problems.

Contributing

  1. Fork it
  1. Create your feature branch (git checkout -b my-new-feature)
  1. Commit your changes (git commit -am 'Add some feature')
  1. Push to the branch (git push origin my-new-feature)
  1. Create a new Pull Request