What if the library gave an error like "the mg!(image(...)) macro can only be used for matrix images. Svg is a vector image, so use mg!(file()) instead" ?
There are cases where treating svgs as images is nice. Images contain options for low quality image previews which would be nice to support for svgs as well with something like this
Specific Demand
The capability to use SVG images with the
image()
function in manganis:While it works with
file()
, one could assume to useimage()
and end up confused like me.