2021-07-01 12:43:25 +00:00
|
|
|
# Astro Example: Markdown
|
|
|
|
|
|
|
|
```
|
2021-07-21 01:06:11 +00:00
|
|
|
npm init astro -- --template with-markdown
|
2021-07-01 12:43:25 +00:00
|
|
|
```
|
2021-06-28 15:46:10 +00:00
|
|
|
|
|
|
|
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`.
|