Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Tags Option #14

Open
asalah-eldin opened this issue Mar 20, 2017 · 4 comments
Open

Inline Tags Option #14

asalah-eldin opened this issue Mar 20, 2017 · 4 comments

Comments

@asalah-eldin
Copy link

asalah-eldin commented Mar 20, 2017

Hi,
Most of the SVGs exported can not be used in android studio, as android studio does not support <defs> & <use>.
Although it's cleaner to use <defs> & <use>, but it makes the SVG useless in this case. It would be nice to have a way to export the SVG without any internal referencing.
Thanks.

@bomberstudios
Copy link
Contributor

Interesting, I'll investigate and see what we can do…

@asknback
Copy link

Did you find a solution to this? My preferred output would be: <svg ... ><path ... /> and everything else stripped away.

@zomars
Copy link

zomars commented May 17, 2018

Bumping this issue

@mathieudutour
Copy link
Contributor

there are discussion about this here: svg/svgo#563

It should be possible to create a SVGO plugin that does this (docs here: https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md) and then make this sketch plugin use the svgo plugin (I can do that once we have the svgo plugin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants