README.md in yamg-0.3.5 vs README.md in yamg-0.3.7

- old
+ new

@@ -1,8 +1,8 @@ # YAMG - ┏ ┓ + ┏ ┓ _____ _____ _____ ______ _______ _____ |\ \ / /| ___|\ \ | \/ \ ___|\ \ | \ \ / / | / /\ \ / /\ \ / /\ \ | \____\/ / /| | | | / /\ / /\ || | |____| @@ -12,11 +12,11 @@ /____/ / |____| |____||\____\ |____| /|\ ___\___/ /| | | / | | | || | | | | / | | /____ / | |____|/ |____| |____| \|____| |____|/ \|___| | / |____|/ - ┗ ┛ + ┗ ┛ [![Gem Version](https://badge.fury.io/rb/yamg.png)](http://badge.fury.io/rb/yamg) [![Dependency Status](https://gemnasium.com/nofxx/yamg.svg)](https://gemnasium.com/nofxx/yamg) [![Build Status](https://travis-ci.org/nofxx/yamg.png?branch=master)](https://travis-ci.org/nofxx/yamg) @@ -125,16 +125,27 @@ There's also media generator for app stores. ## Screenshots (phantomjs) -Custom screenshots: +To generate default screenshots (stores and whatnot) provide the url: +``` +screenshot: + url: 'localhost:7000' +``` - name: - url: 'github.com' - size: [1280, 720] # W x H - scroll: 100 # Optional + +Custom screenshots (notice the plural): + +``` +screenshots: + another-one: + url: 'github.com' + size: [1280, 720] # W x H + scroll: 100 # Optional + dpi: 2 # Optional, 2 for HiDPI +``` Note: Waiting for a pull-request on screencap for hidpi.