@use plume_models::medias::{Media, MediaCategory}; @use plume_models::safe_string::SafeString; @use crate::templates::base; @use crate::template_utils::*; @use crate::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(""))