Replies: 2 comments
-
this would indeed be amazing! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This should already be possible since gt 0.11.0 and 0.11.1. Please try and report back!
In a Quarto doc, ---
format: pdf
---
```{r}
library(gt)
exibble |> gt() |> data_color()
``` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am making PDF output reports in Quarto, and I've been using flextable since I can color code things in the table using that package. I use gt when I'm making html reports though, and much prefer it. Is there a way to get the colors through data_color(), opt_stylize(), style() etc to render to pdf as well? I've tried adding latex packages to the header (amsmath, booktabs, caption, longtable, colortbl, color), but still no success.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions