fathyb/html2svg

Feature request: target viewport size

prurigro opened this issue · 2 comments

It'd be great if it was possible to create exports of mobile sites in addition to desktop.

This project is awesome btw, thanks for creating it!

I added new --width and --height options to set the viewport size, here's an example:

$ docker run fathyb/html2svg https://mui.com --width 500 > mui.svg

You can pull it on the latest Docker image!

Amazing, thanks so much!