Skip to main content

Module iframe

Module iframe 

Source
Expand description

Iframe embed synthesizer.

Receives a TitleParams (Stage 2 dispatcher already parsed it), the source URL, and an AssetSnapshot. Emits final <iframe> HTML.

Sole iframe HTML emitter. Two call sites converge here:

  1. The Stage 2 dispatcher in pipeline.rs, after pulldown-cmark parses a Tag::Link carrying moss:kind=iframe.
  2. src-tauri/src/build/folder_embed.rs’s folder-as-iframe feature, which has no pulldown-cmark involvement and calls this synthesizer directly with an empty TitleParams.

The pre-Phase-1 moss-core IframeRenderer::render_to_html escape valve retired once folder_embed migrated (P2E prereq #2, 2026-05-25).

Functions§

synthesize_iframe_html
Synthesize iframe embed HTML for Tag::Link with moss:kind=iframe title.