Skip to content

Instantly share code, notes, and snippets.

@cezarsmpio
Last active August 29, 2015 14:03
Show Gist options
  • Save cezarsmpio/18dcbc68aebd88980193 to your computer and use it in GitHub Desktop.
Save cezarsmpio/18dcbc68aebd88980193 to your computer and use it in GitHub Desktop.
Generate Dummy Image Snippet for Sublime Text
<snippet>
<content><![CDATA[
http://dummyimage.com/${1:300x300}/${2:000000}/${3:ffffff}${4:.jpg}${5:&text=}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>Generate Dummy Images</description>
</snippet>

Dummy Image Snippet for Sublime Text

Generate images from dummyimage.com.

It's easy!

Type diand then press tab. Pass the sizes of image, background color, text color, format (.jpg, .gif or .png is default) and optional text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment