diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 855b3bf604af6..e85dd5f30366b 100644 --- a/packages/astro/src/types/public/config.ts +++ b/packages/astro/src/types/public/config.ts @@ -1992,8 +1992,8 @@ export interface AstroUserConfig { * * const blog = defineCollection({ * // For content layer you no longer define a `type` - * type: 'content', - * loader: glob({ pattern: '**\/[^_]*.md', base: "./src/data/blog" }), + * type: 'content', + * loader: glob({ pattern: '**\/[^_]*.md', base: "./src/data/blog" }), * schema: z.object({ * title: z.string(), * description: z.string(), @@ -2024,13 +2024,13 @@ export interface AstroUserConfig { * ```astro ins={4,9} del={3,8} * // src/pages/index.astro * --- - * import { getEntry } from 'astro:content'; - * import { getEntry, render } from 'astro:content'; + * import { getEntry } from 'astro:content'; + * import { getEntry, render } from 'astro:content'; * - * const post = await getEntry('blog', params.slug); + * const post = await getEntry('blog', params.slug); * - * const { Content, headings } = await post.render(); - * const { Content, headings } = await render(post); + * const { Content, headings } = await post.render(); + * const { Content, headings } = await render(post); * --- * *