mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
bccd88f0eb
* Move the Markdown component to its own package * Update the examples * Updated lockfile * Use is:raw * Add a main field * Update the formatting of the readme * Rename to @astrojs/markdown-component
11 lines
463 B
Markdown
11 lines
463 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-shiki)
|
|
|
|
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`.
|