image
.image url:{String} \
label:{InlineMarkdownContent} \
title:{InlineMarkdownContent? = null} \
width:{Size? = null} \
height:{Size? = null} \
ref:{String? = null} \
figure:{Boolean = true} \
mediastorage:{Boolean = true}
-> NodeContent copied to clipboard
Creates an image with fine-grained control over its properties, compared to the standard Markdown image syntax ().
Example:
.image {image.png} label:{An image}
.image {photo.jpg} label:{A photo} title:{A beautiful photo} width:{200px}Content copied to clipboard
Return
a wrapped Figure or Image node, depending on figure
Parameters
url
path or URL to the image
label
- Likely named
inline content used as the image's alt text
title
- Optional
- Likely named
optional inline content used as both the tooltip and figure caption
width
- Optional
- Likely named
optional width constraint for the image
height
- Optional
- Likely named
optional height constraint for the image
ref
optional ID for cross-referencing via reference