Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
create-astro@4.13.0 source code.tar.gz | 2025-07-23 | 42.9 MB | |
create-astro@4.13.0 source code.zip | 2025-07-23 | 45.7 MB | |
README.md | 2025-07-23 | 1.8 kB | |
Totals: 3 Items | 88.6 MB | 0 |
Minor Changes
-
#14115
270e009
Thanks @ascorbic! - Removes "Open in x" badges from the README of the official Astro templates when a new project is created -
#14115
270e009
Thanks @ascorbic! - Adds support for marking sections in template READMEs to be removed when thecreate astro
command is used to create a new projectTheme authors can now use magic comments in template READMEs to mark sections that should not be included when a user runs
create-astro
with the--template
flag to create a new project.This allows templates to have content that is visible when viewed in the source repo but not when the template is copied for use in a new project. This is useful for content that is appropriate for a theme's own repository, but will not be useful to someone using the theme, such as an "Open this repository in StackBlitz" badge where the URL is hardcoded .
Use the magic comments
<!-- ASTRO:REMOVE:START -->
and<!-- ASTRO:REMOVE:END -->
to indicate content to be excluded from your README during thecreate astro
process.```md
```
Note that these comments only remove content when new projects are created using
create astro
. When your theme template is forked, your README will be copied in its entirety.