Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 303 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 303 Bytes

md-it-mermaid

markdown-it plugin for mermaid

Usage

yarn add md-it-mermaid
const MarkdownIt = require('markdown-it')
const mditMermaid = require('md-it-mermaid')

const parser = new MarkdownIt(options)

parser.use(mditMermaid)

parser.render('### md-it-mermaid')