@wangeditor/plugin-md
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

wangEditor markdown 插件

English documentation

介绍

wangEditor 中使用基本的 markdown 语法。

  • 标题
    • #
    • ##
    • ###
    • ####
    • #####
  • 列表 - + *
  • 引用 >
  • 分割线 ---
  • 代码块 ```js

安装

yarn add @wangeditor/plugin-md

使用

要在创建编辑器之前注册,且只能注册一次,不可重复注册。

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

Boot.registerModule(markdownModule)

// Then create editor and toolbar

Readme

Keywords

Package Sidebar

Install

npm i @wangeditor/plugin-md

Weekly Downloads

53

Version

1.0.0

License

MIT

Unpacked Size

35.3 kB

Total Files

32

Last publish

Collaborators

  • wangfupeng1988