Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input HTML string to webshot #79

Open
tripartio opened this issue Mar 8, 2019 · 0 comments
Open

Input HTML string to webshot #79

tripartio opened this issue Mar 8, 2019 · 0 comments

Comments

@tripartio
Copy link

I just learnt about webshot while looking for a solution to a problem: I would like to convert HTML tables (generated with R code) to images. Is there a way to specify an HTML string as input to webshot instead of a URL?

I think that this would be a common use case (see, for example, https://stackoverflow.com/questions/35056733/how-to-capture-html-output-as-png-in-r and https://stackoverflow.com/questions/45298144/convert-html-output-to-image). I would prefer not to have to create a temporary local HTML file if possible, but if that is the only solution, then I might have to try that. I haven't actually tried webshot yet, but I'm trying to learn of its capabilities before trying it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant