Cards
Short blocks of related content.
Callouts work in any Markdown file. Everything else on this page needs the file
to be .mdx, so it can import components.
Three colons, a type, the text, three colons:
:::noteNotes are for things worth knowing.:::For the same instruction on different systems:
npm installpnpm installyarnimport { Tabs, TabItem } from '@astrojs/starlight/components';
<Tabs syncKey="pkg"> <TabItem label="npm">`npm install`</TabItem> <TabItem label="pnpm">`pnpm install`</TabItem></Tabs>syncKey keeps every tab group with the same key on the same choice, so a
reader who picks pnpm once sees pnpm everywhere.
Wrap an ordered list in <Steps> for numbered instructions:
Create the site.
one9x pages create mydocsAdd ONE9X_SITE and ONE9X_TOKEN to the repository.
Push to main.
Cards
Short blocks of related content.
In a grid
CardGrid lays them out two to a row on wide screens.
Add a title, highlight lines, or mark changes:
export default defineConfig({ integrations: [ starlight({ title: 'My Project' }), ],});title: 'Docs Template',title: 'My Project',Deployed on One9x Pages