Skip to content

Commit

Permalink
i18n(ko-KR): update markdown-content.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jsparkdev committed Jan 10, 2025
1 parent 44afec7 commit fd3b682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/docs/ko/guides/markdown-content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Markdown 콘텐츠와 프런트매터 속성은 [로컬 파일 가져오기](#ma

Markdown 파일을 가져오거나 쿼리한 후에는 프런트매터 데이터와 본문 콘텐츠를 포함하는 `.astro` 컴포넌트에 동적 HTML 템플릿을 작성할 수 있습니다.

```md title="src/posts/great-post.md"
```md title="src/pages/posts/great-post.md"
---
title: 'The greatest post of all time'
author: 'Ben'
Expand All @@ -50,8 +50,8 @@ Here is my _great_ post!

```astro title="src/pages/my-posts.astro"
---
import * as greatPost from '../posts/great-post.md';
const posts = Object.values(import.meta.glob('../posts/*.md', { eager: true }));
import * as greatPost from './posts/great-post.md';
const posts = Object.values(import.meta.glob('./posts/*.md', { eager: true }));
---
<p>{greatPost.frontmatter.title}</p>
Expand Down

0 comments on commit fd3b682

Please sign in to comment.