0a3d3e51a6
* feat: change Shiki to default * refactor: update blog styles for shiki * feat: update examples/docs styles for Shiki * refactor: remove Prism-ish examples/docs styles * refactor: simplify rules with `all: unset` * refactor: remove Prism styles * refactor: examples/with-md remove Prism-specific line-highlight * chore: add changeset * chore: update changeset versions * refactor: update syntax highlight test for scoped styles * fix: apply scoped style class to pre and span lines * feat: test that scoped styles cascade to shiki code * refactor: pass scopedClassName explicitly |
||
---|---|---|
.. | ||
blog | ||
blog-multiple-authors | ||
component | ||
docs | ||
env-vars | ||
framework-alpine | ||
framework-lit | ||
framework-multiple | ||
framework-preact | ||
framework-react | ||
framework-solid | ||
framework-svelte | ||
framework-vue | ||
minimal | ||
non-html-pages | ||
portfolio | ||
ssr | ||
starter | ||
subpath | ||
with-markdown | ||
with-markdown-plugins | ||
with-markdown-shiki | ||
with-nanostores | ||
with-tailwindcss | ||
with-vite-plugin-pwa | ||
README.md |
Astro Examples Library
The easiest way to check out one of these examples on your machine is by running this command in an empty directory:
npm init astro -- --template [EXAMPLE_NAME]
Community Examples
Visit awesome-astro for a full list of community examples. You can use npm init astro
to check out any community examples:
npm init astro -- --template [GITHUB_USER]/[REPO_NAME]
Paths to examples nested inside of a repo are also supported:
npm init astro -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example