astro/examples/with-markdown/README.md

13 lines
474 B
Markdown
Raw Permalink Normal View History

# Astro Example: Markdown
```
npm init astro -- --template with-markdown
```
2021-09-16 15:06:22 +00:00
[![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`.