Skip to content

Introduction

This is a basic displayable Starlight boilerplate. It includes:

  • A splash home page (src/content/docs/index.mdx)
  • This intro page (src/content/docs/intro.md)
  • A tiny blog in src/content/docs/blog/
  • A pinch of custom CSS (src/styles/custom.css)

Create a Markdown file in src/content/docs/ with title front matter. It shows up in the sidebar if you list it in astro.config.mjs or put it in an autogenerated directory.

Create a file in src/content/docs/blog/, for example my-post.md:

---
title: My Post
description: What it's about.
date: 2026-03-01
---
Hello, world!

Run npm run dev to preview, npm run build to build to dist/.