mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
a911d14eab
* Remove docs from monorepo * Update PULL_REQUEST_TEMPLATE.md * Update relative doc references with links or todo
12 lines
520 B
Markdown
12 lines
520 B
Markdown
# 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](https://docs.astro.build/en/guides/markdown-content/).
|
|
|
|
- `src/pages/index.astro` uses Astro's `<Markdown>` component.
|
|
- `src/pages/other.md` is a treated as a page entrypoint and uses a `layout`.
|