Aller au contenu principal
Version : 3.10.0

📦 theme-mermaid

Ce thème fournit un composant @theme/Mermaid propulsé par mermaid. Vous pouvez en lire plus sur la documentation des diagrammes.

npm install --save @docusaurus/theme-mermaid

Configuration

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,
},
};