feat: support mermaid code blocks in Markdown (#7490)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
Sam Wall 2022-10-14 17:07:20 +01:00 committed by GitHub
parent d2fdd981f7
commit 9c92a79d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1666 additions and 13 deletions

View file

@ -118,6 +118,9 @@ const config = {
},
}),
},
markdown: {
mermaid: true,
},
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/docusaurus.ico',
@ -280,6 +283,7 @@ const config = {
],
},
],
'@docusaurus/theme-mermaid',
...dogfoodingPluginInstances,
],
presets: [