@geekeditor/meditable
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

MEditable is a WYSIWYG markdown editor for web browser applications, derived from the open-source library Muya, with most features re-implemented from it, such as visual rendering of markdown text, text search and replacement. What's more, MEditable supports a lot highly efficient features, such as format replacement, dragging images to editor and so on.

MEditable is still under development as a stand-alone library, providing markdown editing for GeekEditor.

Installing

npm install @geekeditor/meditable

Usage

import MEditable from '@geekeditor/meditable'

const container = document.querySelector('#editor')
const meditable = new MEditable({container})
meditable.prepare().then(() => {
    meditable.setContent(`**MEditable** a WYSIWYG markdown editor for web browser applications.`)
});

Documents

Coming soon!!!

Development

# step1: install dependencies
npm install
# step2: run the development codes
npm run dev

Build

npm run build

Publish

# update version numbers
npm publish

FAQ

None

Built with MEditable

  • GeekEditor - A markdown-based note-taker using your Github/Gitee/GitLab's repositories as storage.

License

MIT © montisan

Readme

Keywords

none

Package Sidebar

Install

npm i @geekeditor/meditable

Weekly Downloads

11

Version

0.0.2

License

MIT

Unpacked Size

10.8 MB

Total Files

388

Last publish

Collaborators

  • montisan