Skip to content

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.

Be not afeard; the isle is full of noises,
Sounds and sweet airs, that give delight and hurt not.

Check this out

Interesting content you want to highlight.

Other feature

More information you want to share.

Computer stuff

Build internet things with your computation machine.

Starlight ready

Just add Starlight and this theme comes to life.

  • Note
  • Success
  • Tip
  • Caution
  • Danger
  • Small
  • Medium
  • Large
example.astro
---
// this is a code block example
---
<p>Code can include something dynamic: {Astro.props.variable}</p>
Or highlight important lines!
Including insertions or deletions.
Terminal window
echo "Welcome, world!"

Code block without a frame:

// for example
console.log('Welcome, world!');
labeled-line-markers.jsx
<button
role="button"
{...props}
value={value}
className={buttonClassName}
disabled={disabled}
active={active}
>
{children && !active && (typeof children === 'string' ? <span>{children}</span> : children)}
</button>
  • astro.config.mjs
  • package.json
  • Directorysrc
    • Directorycomponents
      • Header.astro
      • Title.astro
    • Directorypages/
Get started

Configuration Reference

Learn more

  1. Import the component into your MDX file:

    import { Steps } from '@astrojs/starlight/components';
  2. Wrap <Steps> around your ordered list items.

Sirius, Vega, Betelgeuse

Where and when is the Andromeda constellation most visible?

The Andromeda constellation is most visible in the night sky during the month of November at latitudes between +90° and −40°.

LeftCenteredRight
This is leftText is centeredAnd this is right-aligned
More textEven more textAnd even more to the right