๐ฆ theme-mermaid
์ด ํ
๋ง๋ mermaid๋ก ๊ตฌ๋๋๋ @theme/Mermaid
์ปดํฌ๋ํธ๋ฅผ ์ ๊ณตํฉ๋๋ค. ์์ธํ ๋ด์ฉ์ ๋ค์ด์ด๊ทธ๋จ ๊ด๋ จ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ์ธ์.
- npm
- Yarn
- pnpm
npm install --save @docusaurus/theme-mermaid
yarn add @docusaurus/theme-mermaid
pnpm add @docusaurus/theme-mermaid
์ค์ โ
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,
},
};