//! Image element for markdown.
usegpui::{App, SharedString, Styled, img,prelude::*, px};/// Render an image element.
////// Uses GPUI's `img` element to load and display images from URLs or data URIs.
pubfnimage(src: impl Into<SharedString>, alt:Option<&str>, _cx:&App)-> impl IntoElement{// TODO: Handle alt text accessibility
// TODO: Add loading/error states
let_= alt;let src: SharedString = src.into();img(src).max_w(px(600.0)).rounded(px(4.0))}