Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 617 Bytes

README-en.md

File metadata and controls

37 lines (26 loc) · 617 Bytes

wangEditor markdown plugin

中文文档

Introduction

Use basic markdown syntax in wangEditor.

  • Header
    • #
    • ##
    • ###
    • ####
    • #####
  • List - + *
  • Blockquote >
  • Divider ---
  • Codeblock ```js

Installation

yarn add @wangeditor/plugin-md

Usage

You should register plugin before create editor, and register only once (not repeatedly).

import { Boot } from '@wangeditor/editor'
import markdownModule from '@wangeditor/plugin-md'

Boot.registerModule(markdownModule)

// Then create editor and toolbar