๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
๋ฒ„์ „: Canary ๐Ÿšง

๐Ÿ“ฆ 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,
},
};