@use plume_models::medias::{Media, MediaCategory}; @use plume_models::safe_string::SafeString; @use templates::base; @use template_utils::*; @use routes::*; @(ctx: BaseContext, media: Media) @:base(ctx, i18n!(ctx.1, "Media details"), {}, {}, {
@i18n!(ctx.1, "Markdown syntax") @i18n!(ctx.1, "Copy it into your articles, to insert this media:")
@media.markdown().unwrap_or_else(|_| SafeString::new(""))