Skip to content

Instantly share code, notes, and snippets.

@ahaywood
Created January 22, 2015 04:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<snippet>
<content><![CDATA[
<span data-picture>
<span data-src="images/${1}.${2}"></span>
<span data-src="images/${1}@2x.${2}" data-media="(min-device-pixel-ratio: 2.0)"></span>
</span>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>pfret</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment