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

1.21.0 • Public • Published

@bytemd/plugin-mermaid

npm

ByteMD plugin to support Mermaid diagram

Usage

import mermaid from '@bytemd/plugin-mermaid'
import { Editor } from 'bytemd'

new Editor({
  target: document.body,
  props: {
    plugins: [
      mermaid(),
      // ... other plugins
    ],
  },
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @bytemd/plugin-mermaid

Weekly Downloads

192

Version

1.21.0

License

MIT

Unpacked Size

8.62 MB

Total Files

57

Last publish

Collaborators

  • pd4d10