[markdoc README] note re: article tag
Trying to clean up a docs issue ( https://github.com/withastro/docs/issues/2904 ), and I think something like this will do it!
This commit is contained in:
parent
a695e44aed
commit
a41259daad
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ const { Content } = await entry.render();
|
||||||
<!--Render Markdoc contents with the Content component-->
|
<!--Render Markdoc contents with the Content component-->
|
||||||
<Content />
|
<Content />
|
||||||
```
|
```
|
||||||
|
> **Note**
|
||||||
|
> The `<Content />` component renders your Markdown content within `<article></article>`. This may affect CSS and styling of your content.
|
||||||
|
|
||||||
📚 See the [Astro Content Collection docs][astro-content-collections] for more information.
|
📚 See the [Astro Content Collection docs][astro-content-collections] for more information.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue