Skip to content

Commit e3dc9b1

Browse files
committed
add mermaid support
1 parent b12e57f commit e3dc9b1

3 files changed

Lines changed: 1355 additions & 108 deletions

File tree

crowdsec-docs/docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ const config: Config = {
222222
organizationName: "CrowdSec",
223223
projectName: "crowdsec-docs",
224224
markdown: {
225+
mermaid: true,
225226
mdx1Compat: {
226227
comments: true,
227228
admonitions: true,
@@ -234,6 +235,7 @@ const config: Config = {
234235
href: "https://fonts.googleapis.com/icon?family=Material+Icons",
235236
},
236237
],
238+
themes: ["@docusaurus/theme-mermaid"],
237239
themeConfig: {
238240
image: "img/crowdsec_og_image.png",
239241
colorMode: {

0 commit comments

Comments
 (0)