docs: add mermaid option

pull/930/head
DAIKI URATA 3 years ago
parent df622eee3a
commit 560abf82c1

@ -142,6 +142,12 @@ interface MarkdownOptions extends MarkdownIt.Options {
// Configure the Markdown-it instance to fully customize
// how it works.
config?: (md: MarkdownIt) => void
// Mermaid options
// See: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
mermaid?: ReturnType<Mermaid['mermaidAPI']['getConfig']> & {
disable?: boolean
}
}
```

Loading…
Cancel
Save