Astro Starlight Theme
This site use Astro Starlight Theme.
Section titled “This site use Astro Starlight Theme.”Relevant insights about my experience soon to be shared.
Init project
Section titled “Init project”pnpm create astro --template starlight
# Choose options for projectcd <PROJECT-NAME>
# Start serverpnpm dev
# Build the projectpnpm build
Upgrade
Section titled “Upgrade”pnpm dlx @astrojs/upgrade
Embeds
Section titled “Embeds”<iframe src="URL" loading="lazy" width="600" height="400"></iframe>
Property loading=“lazy” is the one that makes the magic to load faster and consume resources only if needed.
pnpm add astro-embed
This package allow to add rich media from third-party services as: baseline, bluesky, link preview, tweet, vimeo, youtube.