import Foundation /** An image that is part of the page content. A tap/click on the image shows a fullscreen version of the image, including an optional caption. */ struct PageImage: HtmlProducer { /// The HTML id attribute used to enable fullscreen images let imageId: String /// The small version of the image visible on the page let thumbnail: ImageSet /// The large version of the image for fullscreen view let largeImage: ImageSet /// The optional caption text below the fullscreen image let caption: String? func populate(_ result: inout String) { result += "