Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessy1092/fake-image-snippets
Fake image please! snippets for Atom
https://github.com/jessy1092/fake-image-snippets
atom fake-images snippets
Last synced: 2 days ago
JSON representation
Fake image please! snippets for Atom
- Host: GitHub
- URL: https://github.com/jessy1092/fake-image-snippets
- Owner: jessy1092
- License: mit
- Created: 2017-01-31T14:42:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T14:38:00.000Z (almost 8 years ago)
- Last Synced: 2024-11-21T13:52:11.318Z (2 months ago)
- Topics: atom, fake-images, snippets
- Size: 31.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# fake-image snippets for Atom
[![apm](https://img.shields.io/apm/dm/fake-image-snippets.svg?style=flat-square)](https://atom.io/packages/fake-image-snippets)
This is snippets for set `` placeholder with [fakeimg](https://fakeimg.pl/) quickly.
## Install
Search `fake-image-snippets` on package manager or `apm install fake-image-snippets`
## Usage
![FakeImg Usage](./fakeimg.gif)
## Documentation
There support two snippets now:
- `fakeImg`: Add normal fakeimg.pl link on placeholder, ex: ``
- `fakeImgS`: Add square image by default, ex: ``
- `sfakeImgS`: Just add url, ex: `http://fakeimg.pl/200x200/000000,128/000`This snippet tabs through some options (default):
- horizontal size 350
- vertical size 200
- background color bdd9d2
- text color 3f232a
- sample text Fake-Imagfollowing are other options you can set:
- `font=lobster`
- `font_size=14`
- `retina=1`More detail you can see [fakeimg](https://fakeimg.pl/)
## Example
``
![Example image](http://fakeimg.pl/350x200/bdd9d2/3f232a/?text=Fake-Image)
## Contributing
- Fork it!
- Create your feature branch: `git checkout -b my-new-feature`
- Commit your changes: `git commit -m 'Add some feature'`
- Push to the branch: `git push origin my-new-feature`
- Submit a pull request