Skip to content

Commit ceddec2

Browse files
authored
i18n(ko-KR): update asides.mdx (#3319)
1 parent 60a831c commit ceddec2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/src/content/docs/ko/components/asides.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,36 @@ import { Aside } from '@astrojs/starlight/components';
132132

133133
</Preview>
134134

135+
### 사용자 정의 아이콘 사용
136+
137+
[Starlight의 기본 제공 아이콘 중 하나](/ko/reference/icons/#모든-아이콘)의 이름으로 설정된 [`icon`](#icon) 속성을 사용하여 기본 아이콘을 재정의합니다.
138+
139+
<Preview>
140+
141+
```mdx 'icon="starlight"'
142+
import { Aside } from '@astrojs/starlight/components';
143+
144+
<Aside type="tip" icon="starlight">
145+
사용자 정의 아이콘을 *사용하는* 보조 팁입니다.
146+
</Aside>
147+
```
148+
149+
<Fragment slot="markdoc">
150+
151+
```markdoc 'icon="starlight"'
152+
{% aside type="tip" icon="starlight" %}
153+
사용자 정의 아이콘을 *사용하는* 보조 팁입니다.
154+
{% /aside %}
155+
```
156+
157+
</Fragment>
158+
159+
<Aside slot="preview" type="tip" icon="starlight">
160+
사용자 정의 아이콘을 *사용하는* 보조 팁입니다.
161+
</Aside>
162+
163+
</Preview>
164+
135165
## `<Aside>` 속성
136166

137167
**구현:** [`Aside.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/user-components/Aside.astro)
@@ -156,3 +186,9 @@ import { Aside } from '@astrojs/starlight/components';
156186

157187
표시할 보조 내용의 제목입니다.
158188
`title`이 설정되어 있지 않으면 현재 보조 내용의 `type`이 기본 제목으로 사용됩니다.
189+
190+
### `icon`
191+
192+
**타입:** [`StarlightIcon`](/ko/reference/icons/#starlighticon-타입)
193+
194+
보조 내용은 [Starlight의 기본 제공 아이콘 중 하나](/ko/reference/icons/#모든-아이콘)의 이름으로 설정된 `icon` 속성을 포함할 수 있습니다.

0 commit comments

Comments
 (0)