Skip to main content
๋ฒ„์ „: 3.10.2

๐Ÿ“ฆ theme-mermaid

์ด ํ…Œ๋งˆ๋Š” mermaid๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๋Š” @theme/Mermaid ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋‹ค์ด์–ด๊ทธ๋žจ ๋ฌธ์„œ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

npm install --save @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,
},
};