You can use an SVG as the source for an image in HTML. If it's being served from a different origin, you might need to add the crossorigin attribute to get it to load. I had to do this recently in a Marimo notebook. developer.mozilla.org/en-US/docs/W...
developer.mozilla.orgHTML attribute: crossorigin - HTML: HyperText Markup Language | MDNThe crossorigin attribute, valid on the <audio>, <img>, <link>, <script>, and <video> elements, provides support for CORS, defining how the element handles cross-origin requests, thereby enabling the ...
0 reposts0 likes