메인 컨텐츠로 이동
Version: 2.0.0-beta.4

준수 사항

마크다운 기본 문법에 추가해서 MDX에서 준수 사항을 표기하기 위해 remark-admonitions을 사용합니다. 준수 사항 단락은 3개의 콜론으로 감싸서 작성합니다.

예를 들면 아래와 같이 설정합니다.

:::note
Some **content** with _markdown_ `syntax`. Check [this `api`](#).
:::
:::tip
Some **content** with _markdown_ `syntax`. Check [this `api`](#).
:::
:::info
Some **content** with _markdown_ `syntax`. Check [this `api`](#).
:::
:::caution
Some **content** with _markdown_ `syntax`. Check [this `api`](#).
:::
:::danger
Some **content** with _markdown_ `syntax`. Check [this `api`](#).
:::
note

Some content with markdown syntax. Check this api.

tip

Some content with markdown syntax. Check this api.

info

Some content with markdown syntax. Check this api.

caution

Some content with markdown syntax. Check this api.

danger

Some content with markdown syntax. Check this api.

제목 설정하기#

준수 사항 표기 시 제목을 추가로 설정할 수 있습니다.

:::note Your Title
Some **content** with _markdown_ `syntax`.
:::
여기에 제목 작성

Some content with markdown syntax.

준수 사항 내에서 MDX 사용하기#

준수 사항 표기 시 MDX를 사용할 수 있습니다.

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
:::tip Use tabs in admonitions
<Tabs  defaultValue="apple"  values={[    {label: 'Apple', value: 'apple'},    {label: 'Orange', value: 'orange'},    {label: 'Banana', value: 'banana'},  ]}>  <TabItem value="apple">This is an apple 🍎</TabItem>  <TabItem value="orange">This is an orange 🍊</TabItem>  <TabItem value="banana">This is a banana 🍌</TabItem></Tabs>
:::
준수 사항 내에서 tabs을 사용할 수 있습니다.
이것은 사과입니다 🍎