Skip to content

Instantly share code, notes, and snippets.

@puppycodes
Created March 9, 2019 23:51
Show Gist options
  • Save puppycodes/e1f4aaa513e7bb450d81913e7660629f to your computer and use it in GitHub Desktop.
Save puppycodes/e1f4aaa513e7bb450d81913e7660629f to your computer and use it in GitHub Desktop.
shopify image asset regex replace
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