aboutsummaryrefslogtreecommitdiff
path: root/examples/with-markdown/README.md
blob: d317547cb2cd2f4fdb23432498925532953bda7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Astro Example: Markdown

```
npm init astro --template 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`.