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

Set inlineStyles..onlyMatchedOnce to false #5

Closed
Slion opened this issue Feb 3, 2021 · 3 comments
Closed

Set inlineStyles..onlyMatchedOnce to false #5

Slion opened this issue Feb 3, 2021 · 3 comments

Comments

@Slion
Copy link

Slion commented Feb 3, 2021

Is there a way to set SVGO extensions parameters without rebuilding the project?
I would need to set inlineStyles.onlyMatchedOnce to false.

See:
svg/svgo#1259
svg/svgo#1257

@Slion
Copy link
Author

Slion commented Feb 3, 2021

Maybe this could be the solution:
svg/svgo#636

@konsumer
Copy link
Owner

konsumer commented Feb 3, 2021

I'm not sure I understand. None of those linked issues seem to apply to this repo. If you mean you'd like to change the defaults in the inkscape dialog, go find inkscape-svgo.inx and you can edit it to have whatever defaults you like.

@Slion
Copy link
Author

Slion commented Feb 4, 2021

Yes, I did modify the INX to pass the parameters I needed. Though svgo is complaining about malformed JSON when using that config on the command line. Not an issue with this repo though. Modifying INX is pretty cool I could even add a string parameter for the config.

@Slion Slion closed this as completed Feb 4, 2021
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

2 participants