Skip to content

Commit

Permalink
i18n(ko-KR): update configuration-reference.mdx (#9490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsparkdev authored Sep 26, 2024
1 parent 7a75da9 commit 976289c
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/content/docs/ko/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Astro 컴포넌트의 요소 선택기가 전역 스타일 기본값 (예: 전

<p>

**타입:** `boolean`<br />
**타입:** `object`<br />
**기본값:** `{}`<br />
<Since v="4.9.0" />
</p>
Expand All @@ -394,7 +394,7 @@ export default defineConfig({
<p>

**타입:** `boolean`<br />
**기본값:** 'false'<br />
**기본값:** `false`<br />
<Since v="4.9.0" />
</p>

Expand Down Expand Up @@ -653,7 +653,7 @@ SSR로 빌드할 때 서버 엔트리포인트의 파일 이름을 지정합니
```js
{
build: {
inlineStylesheets: `never`,
inlineStylesheets: 'never',
},
}
```
Expand All @@ -664,7 +664,7 @@ SSR로 빌드할 때 서버 엔트리포인트의 파일 이름을 지정합니

```js
{
server: { port: 1234, host: true}
server: { port: 1234, host: true }
}
```

Expand Down Expand Up @@ -904,8 +904,7 @@ Sharp 이미지 서비스의 기본 이미지 크기 제한을 우회하고 큰
<p>

**타입:** `Array.<string>`<br />
**기본값:** `{domains: []}`<br />

**기본값:** `[]`<br />
<Since v="2.10.10" />
</p>

Expand Down Expand Up @@ -1016,7 +1015,7 @@ Shiki 구성 옵션. 사용법은 [Markdown 구성 문서](/ko/guides/markdown-c
import remarkToc from 'remark-toc';
{
markdown: {
remarkPlugins: [ [remarkToc, { heading: "contents"} ] ]
remarkPlugins: [ [remarkToc, { heading: "contents" }] ]
}
}
```
Expand Down Expand Up @@ -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" },
},
};
```
Expand Down Expand Up @@ -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({
Expand Down Expand Up @@ -1717,7 +1716,7 @@ export const collections = { blog, dogs };
로더는 [`_`로 시작하는 파일을 자동으로 제외](/ko/guides/routing/#페이지-제외)하지 않습니다. 이러한 파일을 제외하려면 `pattern: '**\/[^_]*.md'`와 같은 정규 표현식을 사용하세요.
:::

#### Content Layer API로 쿼리 및 렌더링하기
#### Content Layer API로 쿼리 및 렌더링하기

컬렉션은 [콘텐츠 컬렉션과 동일한 방식으로 쿼리](/ko/guides/content-collections/#컬렉션-쿼리)할 수 있습니다:

Expand Down Expand Up @@ -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);
---
<Content />
```

Expand Down

0 comments on commit 976289c

Please sign in to comment.