Hi everyone, I have issues while submitting a flextable to a webpage. I have a Rmd file from which I copy the source code of the flextable. In this web I have an interactive editor (with the choice to change to html editor).
I copy the html code, add center sentence and the table seems just fine, but when I release the web page it messes up. The table is no longer centered and some borders I defined get missing.
This is what I have un Rmd:
big_border = fp_border(color="black")
add_header_lines(values = c("PANEL DE CONTROL: BOTULISMO - CIUDAD DE ROSARIO - AÑO 2019"))%>%
bg(j=1:3, bg="lightgrey", part="all")%>%
align(align = "center", part = "all")%>%
fontsize(part = "header", size = 14) %>%
fontsize(part = "body", size = 12)%>%
border_outer(part="all", border = big_border)%>%
border_inner(part="all", border = big_border)%>%
Does anyone know if it's a flextable issue or anything else?
Edit: I used to have the same table made with kable package, and it worked fine with it.