0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/markdown/component/readme.md
Masataka Yakura fe3b423982
Markdown component: fix package name in readme.md (#4208)
* Markdown component: fix package name in readme.md

readme says it's `@astrojs/markdown`, but package name is actually `@astrojs/markdown-component`.

* Create dry-deers-vanish.md

* Update dry-deers-vanish.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-08-09 16:28:48 -07:00

17 lines
539 B
Markdown

# @astrojs/markdown-component
This package brings legacy support for the `<Markdown />` component to all Astro projects.
> The `<Markdown />` component does not work in SSR. Consider [importing Markdown content](https://docs.astro.build/en/guides/markdown-content/#importing-markdown) instead.
:::
```astro
---
import Markdown from '@astrojs/markdown-component';
---
<Markdown>
# Markdown syntax is now supported! **Yay!**
</Markdown>
```
See our [Markdown Guide](https://docs.astro.build/en/guides/markdown-content/) for more info.