Skip to main content

embed_carrier

Function embed_carrier 

Source
pub fn embed_carrier(style: EmbedStyle, format: Format) -> Option<MetaCarrier>
Expand description

Resolve an EmbedStyle + metadata format to the carrier a new document should get. Separate maps to a whole-file sidecar in format; every other style maps to the concrete EmbedType for that (style, format) pair. None for a combination that has no archetype — notably Delimited + fig (the dialect has no ----style delimiter) and any fenced style paired with a format fig cannot fence (Zon).