Animate image fade in in markdown example

This commit is contained in:
Héctor Ramón Jiménez 2025-02-04 19:57:51 +01:00
parent 24cf355e96
commit a6e64eac6f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 104 additions and 51 deletions

View file

@ -167,8 +167,8 @@ impl Content {
}
/// Returns the URLs of the Markdown images present in the [`Content`].
pub fn images(&self) -> impl Iterator<Item = &Url> {
self.state.images.iter()
pub fn images(&self) -> &HashSet<Url> {
&self.state.images
}
}