Packs
Media components
The media pack's 4 components: video, audio, embeds from known hosts, and a carousel of images.
Add it with packs: ["media"], or leave packs out for every pack.
Video
A video file to play.
Between its tags: nothing: it closes itself (<Name ... />).
| Attribute | Type | Required | Values |
|---|---|---|---|
src |
address | yes | |
poster |
address | ||
title |
text | ||
caption |
text |
<Video src="https://example.com/dumplings.mp4" title="Folding dumplings" caption="Lesson 3, 12 minutes" />Audio
An audio file to play.
Between its tags: nothing: it closes itself (<Name ... />).
| Attribute | Type | Required | Values |
|---|---|---|---|
src |
address | yes | |
title |
text |
<Audio src="https://example.com/ep42.mp3" title="Episode 42: Why cities need trams" />Embed
A YouTube, Vimeo, Spotify or SoundCloud page shown in place; other pages become a link.
Between its tags: nothing: it closes itself (<Name ... />).
| Attribute | Type | Required | Values |
|---|---|---|---|
src |
address | yes | |
title |
text |
<Embed src="https://www.youtube.com/watch?v=dQw4w9WgXcQ" title="How to fold dumplings" />Carousel
Images one at a time, from the Markdown images inside. For a set of things to look through: dishes, rooms, products, sights.
Between its tags: Markdown images, one a line.
| Attribute | Type | Required | Values |
|---|---|---|---|
title |
text |
<Carousel title="The apartment">



</Carousel>