Skip to content
Repos

DevPlaceApp

C++ 390 B12 lines Opens in site

Directory Raw Download

#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 <string>

#include "ui/Views.hpp"

namespace dp::ui {

ViewPtr MarkdownImage(const std::string& url, const std::string& alt, float fontSize);

}  // namespace dp::ui
39.4ms