(Using x-expressions it's pretty convenient, and it works for any xml, as well as html: https://docs.racket-lang.org/continue/index.html?q=xexpr#%28part._.Rendering_.H.T.M.L%29 )
The code as text: https://drive.ጮ.cc/p/svg-clones.rkt.txt
(Can't show you the result 'cause it contains someone's logo yet unpublished).
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!