Skip to main content
Docusaurus

Search documentation

Type to search this documentation.

On this pageOverview

πŸ“¦ theme-mermaid

This theme provides a @theme/Mermaid component that is powered by mermaid. You can read more on diagrams documentation.

npm2yarn
npm install --save @docusaurus/theme-mermaid
docusaurus.config.js
export default {
  themes: ['@docusaurus/theme-mermaid'],
  // In order for Mermaid code blocks in Markdown to work,
  // you also need to enable the Remark plugin with this option
  markdown: {
    mermaid: true,
  },
};
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu