Expand description
Who describes a link.
markdown fetches nothing. Resolving a URL’s Open Graph data is an HTTP
request and an HTML parse, neither of which a component library has any
business carrying, and wasm32-unknown-unknown would spell both differently
anyway. Installed once at boot like the highlighter and read at paint: the
app answers from its own cache and notifies when a fetch lands.
Structs§
- Preview
- What a bookmark paints beyond the URL it already has.
Functions§
- set_
link_ preview markdown::set_link_preview(cx, my_previews)— call once at boot. Without it a bookmark shows its host and its URL, which is what a link looks like before anyone has resolved it.
Type Aliases§
- Link
Preview Nonefor a URL the caller has nothing for yet: the card paints its host and repaints when the answer arrives.