1.0.1 • Published 10 years ago

markdown-editor v1.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
10 years ago

Markdown Editor

A markdown editor integrate write and preview tabs like Github's flavored editor.

Preview UI

Live Demo

Markdown-Editor 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-editor

License

MIT

1.0.1

10 years ago

1.0.0

10 years ago