ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Unsplash

by urre ST2/ST3

Unsplash for Sublime Text

Details

Installs

  • Total 687
  • Win 222
  • OS X 411
  • Linux 54
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0
Linux 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Unsplash for Sublime Text

Use real dummy images instead of placeholders. Unsplash for Sublime Text brings beautiful images from Unsplash to Sublime Text, your favorite code editor.

Unsplash for Sublime Text

Features

  • Get random image (or image url) from Unsplash
  • Insert an img tag
  • Insert image URL
  • Insert Background Image CSS
  • Insert Markdown Tag

How to use

  • Launch the Command Palette Shift+Cmd+ P and search for Unsplash

Keyboard shortcuts:

  • Alt + s → Insert image tag
  • Alt + Shift + s → Insert image URL
  • Cmd + Alt + Shift + s → Insert Background Image CSS
  • Cmd + Alt + Shift + m → Markdown Image Tag

Settings

You can specify different images sizes in your Preferences.sublime-settings. Tumblr sizes: 1280, 500, 400, 250, 100, 75 pixels. For example:

{
    "imgWidth": 1280
}

Installation

Package Control

If you have Package Control installed

  • Just search for “Unsplash” to install

Using Git

Go to your Sublime Text Packages directory and clone the repository using:

git clone https://github.com/urre/Unsplash

Download Manually

  • Download the files using the GitHub .zip download option
  • Unzip the files and rename the folder to Unsplash
  • Copy the folder to your Sublime Text Packages directory

FAQ

Which version of Sublime Text does this support?

Both Sublime Text 2 and 3.

Changelog

  • 1.1.2 Added Windows Keyboard Shortcuts
  • 1.1.1 Added keyboard shortcut for Markdown Image Tag
  • 1.1.0 Added support for Markdown Image Tag
  • 1.0.0 Fetch images directly via the Tumblr API. Bug fix: use background instead of background image. Added settings file for fetching different sizes

Notes

Images from Unsplash is free do whatever you want (CC0 1.0 Universal (CC0 1.0))

You will find photo credits under each photo on Unsplash