Awesome Editor!
It has been released as opensource in 2018 and has continually evolved to receive 10k GitHub ⭐️ Stars.
Create Instance
You can create an instance with the following code and use getHtml()
and getMarkdown()
of the Editor.
const editor = new Editor(options);
See the table below for default options
More API information can be found in the document
name |
type |
description |
el |
HTMLElement |
container element |
Features
- CommonMark + GFM Specifications
- Live Preview
- Scroll Sync
- Auto Indent
- Syntax Highlight
- Markdown
- Preview
Support Wrappers