-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Minify ? #25
Comments
Do you have an example? before and after of what you want to achieve? |
Before:
After:
|
Thank's for the example, not possible for now but I'll see if it can be added in a future update. |
OK. All it needs to do is replace all the double spaces/tabs and line breaks with an empty string. |
I added this to your extension and it works pretty well for what I needed. Feel free to include it in main build if you like?
|
Thank's for sharing that code but it's really specific to your needs, it will not work for many other cases for example CSS, Python, etc. If this is implemente it will require a lot of testing to make sure it works. |
Is there a way to "minify" ( remove all extra spaces and line-breaks ) from a selection using Text Tools?
The text was updated successfully, but these errors were encountered: