mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2bc91543ce
* Replaced `shikiTheme` with `shikiConfig` * Code.astro now accepts custom themes/langs * Updated docs * Updated tests * Fixed language loading * Added customization examples * Updated documentation * Added more tests * Changelogs * Changed some spaces to tabs * Fixed typo in changesets * Moved tests fixtures * Rolled back changes to with-markdown-shiki * Removed lang example in docs * Optimized Code component * Try to fix windows errors * Try to see if this new tests work |
||
---|---|---|
.. | ||
blog | ||
blog-multiple-authors | ||
component | ||
docs | ||
fast-build | ||
framework-alpine | ||
framework-lit | ||
framework-multiple | ||
framework-preact | ||
framework-react | ||
framework-solid | ||
framework-svelte | ||
framework-vue | ||
minimal | ||
portfolio | ||
portfolio-svelte | ||
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