Media & embeds
Cabinet handles images, videos, and dozens of URL-based embeds as first-class blocks in the editor. Everything saves next to the page on disk, except embeds — which are stored as iframes in the markdown source.
Images
Three ways to add an image, all save the file next to the page:
- Paste a copy-pasted screenshot — uploads and inserts automatically.
- Drag & drop from Finder onto the editor.
- Click the image icon or type /Image for the Upload or From URL tab.
Hover any image and drag the side handles to resize — the width persists across reloads.
![]()
↑ Example image inserted via /Image → From URL. Hover it in edit mode to see the resize handles.
Video
Click the video icon or type /Video to upload a file or paste a direct video URL.
<video controls src="https://runcabinet.com/demo.webm"></video>
In the editor it renders as a player; on disk it's a plain HTML5 <video> tag the markdown source preserves.
Embeds — universal
Click the embed icon (sparkles) or type /Embed. Cabinet auto-detects the provider and writes the right iframe markup.
| Provider | Paste a link like… |
|---|---|
| YouTube | https://youtube.com/watch?v=… |
| Vimeo | https://vimeo.com/… |
| Loom | https://loom.com/share/… |
| X / Twitter | https://x.com/user/status/… |
| TikTok | https://tiktok.com/@user/video/… |
| Facebook / Instagram | any public post URL |
| Spotify | https://open.spotify.com/track/… |
| Anything else | falls back to a generic iframe |
Tip. Pasting a recognized URL on an empty line auto-embeds without the popover.
Files
For anything that isn't an image or video, type /File (or drop it into the editor). It saves next to the page and renders as a download chip with the filename and size.
<a class="file-chip" href="/assets/cabinet-public-docs/cabinet/data/editor/media-and-embeds/brief.pdf" download>brief.pdf · 412 KB</a>
The browser handles previews for what it can (PDF, plain text, images); other types open in Finder.
Where files live on disk
Every uploaded file lands in the same folder as the page that holds it. So a page at:
marketing/launches/2026-q3/index.md
…with a pasted screenshot ends up with:
marketing/launches/2026-q3/
├── index.md
└── screenshot-2026-05-04-09-12.png
No global media bucket. Move the page folder, the assets move with it. Delete the folder, the assets are gone too.
Read on
- Slash commands — the picker reference.
- File types — every file type Cabinet renders inline.