Spooner
Although there is a dedicated image command, parseText gives more options:
_imageText = parseText "<img size='5' color='#ff0000' image='fish.paa'/>"
Results appear below as you type; use the arrow keys to move through them.
Command · also in GUI Control, Structured Text · Markdown · JSON · original wiki page
Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.
image filename
Parameters:
filename: StringReturns: Structured Text
hint composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"];
hint str (composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"] == parseText "Image: <img image='\a3\Data_f\Flags\flag_Altis_co.paa'/>"); // true
setAttributes · parseText · text · composeText · lineBreak
Although there is a dedicated image command, parseText gives more options:
_imageText = parseText "<img size='5' color='#ff0000' image='fish.paa'/>"