Markdown测试页

image

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
    1. Markdown
    2. Preview

Support Wrappers

  • Wrappers
posted @ 2023-08-07 19:45  潘钜森  阅读(35)  评论(1编辑  收藏  举报