Its my first time using pagedown.
Could you help me?
This is my .Rmd code:
--- title: "Table" output: html_document: css: "test.css" --- ```{r} library(knitr) data(iris) kable(iris) ``` This is my .css file:
.main-container { max-width: 1600px !important; } tr:nth-child(even) { background-color: #f2f2f2; } th { background-color: #FF6319; color: white; font-size: 12px; } tbody { font-size: 12px; } hr { page-break-after: always; } When i set the command pagedown::chrome_print('C:/Users/user/Downloads/myfile.html') the pdf output is created but it doesn mantain the css style.
What am I missing?
Any help?
Thanks!
pagedown::chrome_print('C:/Users/user/Downloads/myfile.html', format="pdf)? I did and didnt work.rmarkdown::pandoc_convertand it didnt work