0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/with-markdown/README.md

13 lines
503 B
Markdown
Raw Normal View History

# Astro Example: Markdown
```
npm init astro -- --template with-markdown
```
2021-11-23 17:47:05 -05:00
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-markdown)
2021-09-16 10:06:22 -05:00
This example showcases Astro's [built-in Markdown support](https://docs.astro.build/en/guides/markdown-content/).
- `src/pages/index.astro` uses Astro's `<Markdown>` component.
- `src/pages/other.md` is a treated as a page entrypoint and uses a `layout`.