Skip to main content
Mythos

The /embed command enables creators to insert any iframe into a πŸ“memo. Type /embed in the editor, select it from the menu, and paste either raw iframe HTML or a direct embed URL.

How It Works

  • Type /embed anywhere in the editor
  • Select Embed from the slash command menu
  • A prompt appears β€” paste one of:
  • Iframe HTML β€” e.g., <iframe src="..." height="192" width="100%"></iframe>
  • Embed URL β€” e.g., https://play.libsyn.com/embed/episode/id/3965432
  • The embed renders inline at the dimensions specified in the iframe HTML, or at default aspect-video dimensions for plain URLs

Iframe HTML Parsing

When iframe HTML is pasted, the command extracts:

  • src β€” the embed URL (required)
  • height β€” rendered height (optional, preserves the source's intended layout)
  • width β€” rendered width (optional, defaults to 100%)

This makes it provider-agnostic β€” any service that gives you an embed code works: podcast hosts (Libsyn, Transistor, Buzzsprout), form builders, data tools, or anything else that provides iframe HTML.

Markdown Format

Embeds are serialized in markdown as:

::embed[url]{height=192,width=100%}

This format roundtrips through save and reload, preserving dimensions.

Relationship to Auto-Embedding

The /embed command complements the existing auto-embed behavior documented in πŸ“Media Embedding. Auto-embedding works by pasting a URL on its own line and pressing Enter β€” it handles known providers (YouTube, Spotify, etc.) and oEmbed/OG discovery automatically. The /embed command fills the gap for services that aren't auto-detected but do provide iframe embed codes.

Created with πŸ’œ by One Inc | Copyright 2026