astro/examples/with-markdown-shiki/README.md

14 lines
840 B
Markdown
Raw Normal View History

# Astro Example: Markdown with Shiki
```sh
npm create astro@latest -- --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-shiki)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/with-markdown-shiki)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/with-markdown-shiki/devcontainer.json)
This example showcases Astro's [built-in Markdown support](https://docs.astro.build/en/guides/markdown-content/).
- `src/pages/index.md` is a treated as a page entrypoint and uses a `layout`.