rstudio / pagedown

Paginate the HTML Output of R Markdown with CSS for Print
https://pagedown.rbind.io
Other
892 stars 128 forks source link

chrome_print() options argument is unclear #262

Open jzadra opened 2 years ago

jzadra commented 2 years ago

The options argument for chrome_print() says "a list of page options". However it is not clear how exactly to specify them. I assume it is list("option" = "value"), but that doesn't seem to work.

I am trying to adjust the top margin. Per the chrome list of options it should be marginTop. But using `options = list("marginTop" = 5") has no effect.