mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
681 B
681 B
sidebar_position | slug |
---|---|
5 | /api/themes/@docusaurus/theme-mermaid |
📦 theme-mermaid
This theme provides a @theme/Mermaid
component that is powered by mermaid. You can read more on diagrams documentation.
npm install --save @docusaurus/theme-mermaid
Configuration
module.exports = {
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,
},
};