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:

  1. Paste a copy-pasted screenshot — uploads and inserts automatically.
  2. Drag & drop from Finder onto the editor.
  3. 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.

Cabinet icon

↑ 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.

ProviderPaste a link like…
YouTubehttps://youtube.com/watch?v=…
Vimeohttps://vimeo.com/…
Loomhttps://loom.com/share/…
X / Twitterhttps://x.com/user/status/…
TikTokhttps://tiktok.com/@user/video/…
Facebook / Instagramany public post URL
Spotifyhttps://open.spotify.com/track/…
Anything elsefalls 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