Check this out
Interesting content you want to highlight.
HTML elements in .mdx files must be closed or self-closed.let example = "hello";let example = "hello";Asides can be used in .md and .mdx files
Starlight’s custom aside syntax looks like this:
:::noteA note aside:::… to create this:
Import a component into an .mdx file in Starlight like this:
import { Card } from '@astrojs/starlight/components';
<Card title="Check this out">Interesting content you want to highlight.</Card>… which results in this:
Check this out
Learn more about icons
Components can also contain nested content.
Overview
This is a custom callout
This is a custom callout
A custom component to load YouTube previews (only).
This embed requires all of YouTube’s surveillance scripts to load
See the Pen JS Color Array by Owen Mundy (@owenmundy) on CodePen.
Content, only when you need it.