Embed

Use the Embed component to display external content, such as videos, maps, or other embeddable media, within your markdown pages. This component allows you to customize dimensions, add borders, and ensure responsive styling.

Default usage

Custom size

No border

Options

Required
The URL of the embeddable content.
A description or title for the embed, useful for accessibility purposes.
The width of the embed (in pixels).
Options:
number
Default:
100%
The height of the embed (in pixels).
Options:
number
Default:
400
Whether to display a border around the embed
Options:
Default:
true

Pass custom classes to control the styling of the embed wrapper. Supports Tailwind classes.