Created
March 9, 2019 23:51
-
-
Save puppycodes/e1f4aaa513e7bb450d81913e7660629f to your computer and use it in GitHub Desktop.
shopify image asset regex replace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find: ([.|\w|-])*\.(?:jpg|gif|png|svg) | |
replace: {{'$&' | asset_url}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment