mirror of
https://github.com/mfocko/blog.git
synced 2024-11-25 06:11:55 +01:00
chore(yarn): add mermaid to dependencies
Add mermaid to allow drawing diagrams. Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
c80ea2afb1
commit
701ad8236a
2 changed files with 14 additions and 1 deletions
|
@ -206,8 +206,20 @@ const config = {
|
|||
sidebar: {
|
||||
hideable: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
mermaid: {
|
||||
options: {
|
||||
fontFamily: "Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace",
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
markdown: {
|
||||
mermaid: true,
|
||||
},
|
||||
themes: [
|
||||
'@docusaurus/theme-mermaid',
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"dependencies": {
|
||||
"@docusaurus/core": "^2.3.1",
|
||||
"@docusaurus/preset-classic": "^2.3.1",
|
||||
"@docusaurus/theme-mermaid": "^2.3.1",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.2.1",
|
||||
"dotenv": "^16.0.3",
|
||||
|
|
Loading…
Reference in a new issue