Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/content/docs/ko/guides/markdown-content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,10 @@ export default defineConfig({
light: 'github-light',
dark: 'github-dark',
},
// 기본 색상 비활성화
// https://shiki.style/guide/dual-themes#without-default-color
// (v4.12.0에서 추가됨)
defaultColor: false,
// 맞춤 언어 추가
// 참고: Shiki에는 .astro를 포함하여 수많은 언어가 내장되어 있습니다!
// https://shiki.style/languages
Expand All @@ -610,6 +614,10 @@ export default defineConfig({
});
```

:::note[Shiki 테마 사용자 정의]
`.astro-code` 클래스를 사용하여 Astro 코드 블록의 스타일을 지정합니다. Shiki의 문서를 따를 때는 (예: [라이트/다크 이중 테마 또는 다중 테마 사용자 지정하기](https://shiki.style/guide/dual-themes#query-based-dark-mode)) 예시에 있는 `.shiki` 클래스를 `.astro-code`로 변경해야 합니다.
:::

#### 나만의 테마 추가하기

Shiki의 사전 정의된 테마 중 하나를 사용하는 대신 로컬 파일에서 사용자 정의 테마를 가져올 수 있습니다.
Expand Down