From 2df69c0d0e11f5a6ac0436297e4dcb5081853b05 Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Thu, 26 Sep 2024 12:18:45 +0900 Subject: [PATCH] i18n(ko-KR): create `configuration-reference.mdx` --- .../ko/reference/configuration-reference.mdx | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/content/docs/ko/reference/configuration-reference.mdx b/src/content/docs/ko/reference/configuration-reference.mdx index cf88dfcef5e49..366e05a7ba7af 100644 --- a/src/content/docs/ko/reference/configuration-reference.mdx +++ b/src/content/docs/ko/reference/configuration-reference.mdx @@ -370,7 +370,7 @@ Astro 컴포넌트의 요소 선택기가 전역 스타일 기본값 (예: 전

-**타입:** `boolean`
+**타입:** `object`
**기본값:** `{}`

@@ -394,7 +394,7 @@ export default defineConfig({

**타입:** `boolean`
-**기본값:** 'false'
+**기본값:** `false`

@@ -653,7 +653,7 @@ SSR로 빌드할 때 서버 엔트리포인트의 파일 이름을 지정합니 ```js { build: { - inlineStylesheets: `never`, + inlineStylesheets: 'never', }, } ``` @@ -664,7 +664,7 @@ SSR로 빌드할 때 서버 엔트리포인트의 파일 이름을 지정합니 ```js { - server: { port: 1234, host: true} + server: { port: 1234, host: true } } ``` @@ -904,8 +904,7 @@ Sharp 이미지 서비스의 기본 이미지 크기 제한을 우회하고 큰

**타입:** `Array.`
-**기본값:** `{domains: []}`
- +**기본값:** `[]`

@@ -1016,7 +1015,7 @@ Shiki 구성 옵션. 사용법은 [Markdown 구성 문서](/ko/guides/markdown-c import remarkToc from 'remark-toc'; { markdown: { - remarkPlugins: [ [remarkToc, { heading: "contents"} ] ] + remarkPlugins: [ [remarkToc, { heading: "contents" }] ] } } ``` @@ -1094,7 +1093,7 @@ Astro는 기본적으로 [SmartyPants 포매터](https://daringfireball.net/proj { markdown: { // 예: 각주 텍스트를 다른 언어로 번역합니다. 기본 영어 값은 다음과 같습니다. - remarkRehype: { footnoteLabel: "Footnotes", footnoteBackLabel: "Back to reference 1"}, + remarkRehype: { footnoteLabel: "Footnotes", footnoteBackLabel: "Back to reference 1" }, }, }; ``` @@ -1689,7 +1688,7 @@ import { defineCollection, z } from 'astro:content'; import { glob, file } from 'astro/loaders'; const blog = defineCollection({ - // 기본적으로 ID는 `base`를 기준으로 + // 기본적으로 ID는 `base`를 기준으로 // 파일 경로에서 생성된 슬러그입니다. loader: glob({ pattern: "**\/*.md", base: "./src/data/blog" }), schema: z.object({ @@ -1717,7 +1716,7 @@ export const collections = { blog, dogs }; 로더는 [`_`로 시작하는 파일을 자동으로 제외](/ko/guides/routing/#페이지-제외)하지 않습니다. 이러한 파일을 제외하려면 `pattern: '**\/[^_]*.md'`와 같은 정규 표현식을 사용하세요. ::: -#### Content Layer API로 쿼리 및 렌더링하기 +#### Content Layer API로 쿼리 및 렌더링하기 컬렉션은 [콘텐츠 컬렉션과 동일한 방식으로 쿼리](/ko/guides/content-collections/#컬렉션-쿼리)할 수 있습니다: @@ -1830,13 +1829,13 @@ export const collections = { countries }; --- import { getEntry } from 'astro:content'; import { getEntry, render } from 'astro:content'; - + const post = await getEntry('blog', params.slug); - + const { Content, headings } = await post.render(); const { Content, headings } = await render(post); --- - + ```