summaryrefslogtreecommitdiff
path: root/examples/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/README.md b/examples/README.md
index ab0e5a6c0..1482084d4 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -2,7 +2,7 @@
The easiest way to check out one of these examples on your machine is by running this command in an empty directory:
-```
+```sh
npm create astro@latest -- --template [EXAMPLE_NAME]
```
@@ -10,12 +10,12 @@ npm create astro@latest -- --template [EXAMPLE_NAME]
Visit [awesome-astro](https://github.com/one-aalam/awesome-astro) for a full list of community examples. You can use `npm create astro@latest` to check out any community examples:
-```
+```sh
npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]
```
Paths to examples nested inside of a repo are also supported:
-```
+```sh
npm create astro@latest -- --template [GITHUB_USER]/[REPO_NAME]/path/to/example
```