mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
12 lines
474 B
Markdown
12 lines
474 B
Markdown
# Astro Example: Markdown
|
|
|
|
```
|
|
npm init astro -- --template with-markdown
|
|
```
|
|
|
|
[](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`.
|