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

```
npm init astro -- --template with-markdown-shiki
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/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`.