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

knit and webshot #380

Closed
thejerwang opened this issue Dec 16, 2016 · 1 comment
Closed

knit and webshot #380

thejerwang opened this issue Dec 16, 2016 · 1 comment

Comments

@thejerwang
Copy link

thejerwang commented Dec 16, 2016

I've tried to knit the dt::datatable output to word_document. When the datatable only has 1-2 rows, the webshot output will have a lot of white space like below:


¦ DATATABLE OUTPUT HERE... ¦
¦ ¦
¦ part of webshot but it's not table output anymore ¦
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦ ¦
¦-----------------------------------------------------------------------------

@thejerwang
Copy link
Author

This chunk can solve the problem
{r screenshot.opts = list(selector = ".dataTable")}

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