astro/examples
Ben Holmes fb7af55114
feat: New Markdoc render API (#7468)
* feat: URL support for markdoc tags

* refactor: move to separate file

* feat: support URL for markdoc nodes

* feat: support `extends` with URL

* chore: changeset

* fix: bad AstroMarkdocConfig type

* fix: experimentalAssetsConfig missing

* fix: correctly merge runtime config

* chore: formatting

* deps: astro internal helpers

* feat: component() util, new astro bundling

* chore: remove now unused code

* todo: missing hint

* fix: import.meta.url type error

* wip: test nested collection calls

* feat: resolve paths from project root

* refactor: move getHeadings() to runtime module

* fix: broken collectHeadings

* test: update fixture configs

* chore: remove suggestions. Out of scope!

* fix: throw outside esbuild

* refactor: shuffle imports around

* Revert "wip: test nested collection calls"

This reverts commit 9354b3cf9222fd65b974b0cddf4e7a95ab3cd2b2.

* chore: revert back to mjs config

* chore: add jsdocs to stringified helpers

* fix: restore updated changeset

---------

Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2023-06-27 15:05:17 -04:00
..
basics [ci] release (#7449) 2023-06-27 08:42:46 -04:00
blog [ci] release (#7449) 2023-06-27 08:42:46 -04:00
component [ci] release (#7449) 2023-06-27 08:42:46 -04:00
deno [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-alpine [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-lit [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-multiple [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-preact [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-react [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-solid [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-svelte [ci] release (#7449) 2023-06-27 08:42:46 -04:00
framework-vue [ci] release (#7449) 2023-06-27 08:42:46 -04:00
hackernews [ci] release (#7449) 2023-06-27 08:42:46 -04:00
integration [ci] release (#7449) 2023-06-27 08:42:46 -04:00
middleware [ci] release (#7449) 2023-06-27 08:42:46 -04:00
minimal [ci] release (#7449) 2023-06-27 08:42:46 -04:00
non-html-pages [ci] release (#7449) 2023-06-27 08:42:46 -04:00
portfolio [ci] release (#7449) 2023-06-27 08:42:46 -04:00
ssr [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-markdoc feat: New Markdoc render API (#7468) 2023-06-27 15:05:17 -04:00
with-markdown-plugins [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-markdown-shiki [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-mdx [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-nanostores [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-tailwindcss [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-vite-plugin-pwa [ci] release (#7449) 2023-06-27 08:42:46 -04:00
with-vitest [ci] release (#7449) 2023-06-27 08:42:46 -04:00
README.md .md only: npm init astro --> npm create astro (#4760) 2022-09-16 12:40:06 -05:00

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 create astro@latest -- --template [EXAMPLE_NAME]

Community Examples

Visit awesome-astro for a full list of community examples. You can use npm create astro@latest to check out any community examples:

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]

Paths to examples nested inside of a repo are also supported:

npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example