Use cards for summaries
Cards work well for short concept summaries, feature overviews, and landing-page navigation.
Small icon accents work best when they support nearby text instead of carrying the whole message.
Open page templates
Use cards for summaries
Cards work well for short concept summaries, feature overviews, and landing-page navigation.
Use Markdown for most pages.
- headings- lists- code fences- tables- asidesUse MDX when you need imported components:
- cards- tabs- steps- file trees// @ts-checkimport { defineConfig } from "astro/config";import starlight from "@astrojs/starlight";
// https://astro.build/configexport default defineConfig({ site: "https://mementropy.com",
integrations: [ starlight({ title: "Mementropy", description: "Working notes, study tracks, and longer-form writing on AI, ML, and operations work.", customCss: ["./src/styles/custom.css"], disable404Route: true, // Sidebar entries are computed per-request by routeMiddleware based on // URL section (academy/blog/whitepapers/docs). The default sidebar here // is the fallback for pages that don't match any section. sidebar: [], routeMiddleware: "./src/lib/routeData.ts", components: { Header: "./src/components/overrides/Header.astro", }, }), ],});If a page already reads well in plain Markdown, stop there. The best Starlight pages usually feel clear and calm rather than component-heavy.