Fork me on GitHub
#biff
<
2023-02-05
>
macrobartfast05:02:54

Is there a neat way to render straight svg in its typical format… without converting it to Hiccup or Rum? I’m thinking of, maybe, leaving large SVG files in their usual format and slurping them in from the resources directory or something.

Jacob O'Bryant06:02:54

you can use biff/unsafe to render the svg after slurping it. or do [:img {:src "/images/foo.svg"}]

macrobartfast06:02:28

omg… so easy, lol. :star-struck:

👌 2