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
2021-09-16 08:06:22 -07:00

12 lines
474 B
Markdown

# Astro Example: Markdown
```
npm init astro -- --template with-markdown
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/snowpackjs/astro/tree/latest/examples/with-markdown)
This example showcases Astro's [built-in Markdown support](../../docs/markdown.md).
- `src/pages/index.astro` uses Astro's `<Markdown>` component.
- `src/pages/other.md` is a treated as a page entrypoint and uses a `layout`.