Closed Bilge closed 6 years ago
I’d like to do this, but I’m scatterbrained and have other stuff pulling on my time, so I can’t promise it'll happen.
There are two similar tools on CodePen that let you paste in an SVG and get a similarly-encoded URI, if that works for you:
They don’t do everything this does, but they’re very close.
Nice label and sorry to hear about your brain! Thanks doubly for the links!
Oh, RunKit + npm also have an in-browser version of this specifically.
Here’s a RunKit snippet that should do what you want if you replace your SVG goes here
with, well, your SVG.
I went ahead and put the RunKit snippet in the repo site field, so it’s easily findable. It’s about as good as any in-browser version I could create, anyway.
Thanks for opening this!
I think you put the wrong one in there. The first link is usable and includes documentation but the second requires sign-up and has no documentation. You might also consider putting it directly in the readme.
Weird, I can’t seem to get the sign-up version even with a different browser’s private browsing. Good catch, updated.
EDIT: Put it in the “Usage” section of the README too.
This would be very convenient whether or not people are comfortable using Node.