Skip to main content

image_marker

Function image_marker 

Source
pub fn image_marker(
    asset_id: &str,
    path: &str,
    alt: &str,
) -> Result<(Block, (AssetId, Asset)), String>
Expand description

Build an image block + local-path image asset (legacy ImageMarker-equivalent fixture).