mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 14:36:59 +02:00
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:
parent
d2fdd981f7
commit
9c92a79d23
39 changed files with 1666 additions and 13 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue