markdown-editor

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i markdown-editor

Weekly Downloads

400

Version

1.0.1

License

MIT

Last publish

Collaborators

  • yorkie