stringWidth/stringMetrics/wrapString will work even with the image inline too. Only gotcha is the line height is the height of the text, not that of the image (which is centered)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Like this:
stringWidth/stringMetrics/wrapString will work even with the image inline too. Only gotcha is the line height is the height of the text, not that of the image (which is centered)
1 Attachment