1.0.1 • Published 10 years ago
markdown-editor v1.0.1
Markdown Editor
A markdown editor integrate write and preview tabs like Github's flavored editor.

Live Demo
Usage
Define your div element as the editor replacement.
<div id="markdown-editor-sample"></div>And write JavaScript:
var editor = new MarkdownEditor('#markdown-editor-sample');
editor.render();You can specify the width of editor by calling the .render function with an argument like:
editor.render('auto');
// or
editor.render('500px');Install
$ npm install markdown-editor
$ bower install markdown-editorLicense
MIT