Skip to content

SublimeText plugin for easy insert placeholders image url with parameters, text & font

License

Notifications You must be signed in to change notification settings

pafnuty/imgHolder

Repository files navigation

ImgHolder

Plugin for SublimeText 2 and 3

Allows you to easily insert a link to a picture-placeholder from imgholder.ru into html, css, less, sass and scss syntax, with custom size, text & font.

HTML

HTML

CSS

CSS

SASS, LESS etc...

SASS

Markdown

Markdown

Snippet

Snippet

Usage

Trigger autocomplete just after src=", poster=", srcset=" or url( attributes and select the desired string. Or use snippet on tabTrigger: imho or imgholder.

Settings

###InputMask: [width]x[height]/[background-color]/[text-color][.ext]&text=[some+text]&font=[font-name]&fz=[50]

Use /n in the text to wrap text to a new line.

Examples

imgholder.ru/150 imgholder.ru/600x150 imgholder.ru/600x150/aaa/444 imgholder.ru/600x150/666/000 imgholder.ru/600x150/444/eee.jpg imgholder.ru/600x150/323232/ccc.jpg&text=image+with+text imgholder.ru/600x150/272727/FED766&text=image+with+text+and+matias+font&font=matias imgholder.ru/600x150/A8DADC/1D3557&text=image+with+text+and+corki+font,+size+30&font=corki&fz=30 imgholder.ru/600x150/457B9D/F1FAEE&text=image+with+text/nand+matias+font/nand+size+26/nand+multiline&font=matias&fz=26

Available font names:

Available extensions: