Embed

Add and configure the Embed component in a Docmino document.

When to use

Use Embed to place supported external content, such as a video or code example, inside the document.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
label
string
The reader-facing label for the component.
url
string
The URL loaded by the component.
visibleWhen
expression
A condition that controls when the component is visible.

Examples

YouTube

Sample video
<Embed label="Sample video" url="https://www.youtube.com/watch?v=dQw4w9WgXcQ" />

Gist

Code snippet
<Embed label="Code snippet" url="https://gist.github.com/user/abcd1234" />