#pragma once // Spec: SPEC.md UX-MD-01. Block image of a markdown paragraph: natural size capped to the available width, // RemoteImage inside, a placeholder box while loading and the alt text when the load failed. #include #include "ui/Views.hpp" namespace dp::ui { ViewPtr MarkdownImage(const std::string& url, const std::string& alt, float fontSize); } // namespace dp::ui