Kitchen sink
A page with a wide variety of different Markdown syntax or components to show how these look together. See the following pages for individual examples.
Asides
Section titled “Asides”Badges
Section titled “Badges”- New
- Deprecated
- Demo
- 200
- Experimental
Blockquotes
Section titled “Blockquotes”The content of the quote can use any other Markdown syntax.
Card title
The content of the card that can use any other Markdown syntax.
Card grid
Section titled “Card grid”Card title
The content of the card.
Card title
The content of the card.
Link card
Section titled “Link card” Link title The description of the link.
Link card grid
Section titled “Link card grid”Details
Section titled “Details”The summary of the disclosure
The content of the disclosure that can use any other Markdown syntax.
Code Blocks
Section titled “Code Blocks”---// A code block example---
<p>A paragraph with a variable: {Astro.props.foo}</p>
With highlighted content. Including insertions or deletions.function test() { const foo = 'bar' const foo = 'baz'}Labels
Section titled “Labels”---import { Icon } from '@astrojs/starlight/components';---
<Icon name="seti:lock" />
<button type="button">Login</button>
<a href="/login/">Login</a>Terminal frame
Section titled “Terminal frame”pnpm run buildFile Tree
Section titled “File Tree”- astro.config.mjs an important file
- package.json
- README.md
Directorysrc
Directorycomponents
- Header.astro
- …
Directorypages/
- …
Link Buttons
Section titled “Link Buttons”Primary
Secondary
Minimal
-
The first step of the guide that can use any other Markdown syntax.
const foo = 'bar' -
A second and final step.
npm install @astrojs/starlightpnpm add @astrojs/starlightyarn add @astrojs/starlightTables
Section titled “Tables”| Column 1 | Column 2 | Column 3 | Column 4 |
|---|---|---|---|
| Cell 1-1 | Cell 1-2 | Cell 1-3 | Cell 1-4 |
| Cell 2-1 | Cell 2-2 | Cell 2-3 | Cell 2-4 |
| Cell 3-1 | Cell 3-2 | Cell 3-3 | Cell 3-4 |
| Cell 4-1 | Cell 4-2 | Cell 4-3 | Cell 4-4 |
| Cell 5-1 | Cell 5-2 | Cell 5-3 | Cell 5-4 |
| Cell 6-1 | Cell 6-2 | Cell 6-3 | Cell 6-4 |