This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
remove website url and other lines on save #22136
Unanswered
stanleyblade
asked this question in
Q&A
Replies: 3 comments 17 replies
-
This sounds like a question that should be asked on stackoverflow.com since it is not specific to Atom. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You may be looking for something like atom-minify |
Beta Was this translation helpful? Give feedback.
6 replies
-
Use a regex (might break things though. use with caution): Put this in Atom find (regex mode): ((?:href)|(?:src)=")https:\/\/websiteaddress\.com([^"]+") And put this in replace: $1$2 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When saving a file (specifically to the minified file) I would like to automatically remove all the url "https://websiteaddress.com/" references and other lines. Including removing the stylesheet line altogether along with the body css.
How could I go about this? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions