chore: update DocsContent comments
This commit is contained in:
parent
64948f6993
commit
dcd4ed138b
2 changed files with 4 additions and 2 deletions
|
@ -14,6 +14,8 @@ const { Content } = await entry.render();
|
|||
components={{
|
||||
// Pass a mapping from the component name
|
||||
// To an Astro or UI component import
|
||||
// See your `astro.config.mjs` for
|
||||
// for the Markdoc tag mapping
|
||||
Aside,
|
||||
}}
|
||||
/>
|
||||
|
|
|
@ -11,8 +11,8 @@ const intro = await getEntryBySlug('docs', 'intro');
|
|||
<h1>{intro.data.title}</h1>
|
||||
<!-- `DocsContent` is a thin wrapper around -->
|
||||
<!-- the `Content` component provided by Content Collections, -->
|
||||
<!-- with added Markdoc configuration and component mapping. -->
|
||||
<!-- This allows you to share config wherever you render your Markdoc files. -->
|
||||
<!-- with added configuration for components. -->
|
||||
<!-- This allows you to share global components wherever you render your Markdoc. -->
|
||||
<DocsContent entry={intro} />
|
||||
</main>
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in a new issue