Transparent rendering in RMarkdown

Hi - I have a question regarding the new gt package. I have a background image in an RMarkdown document. 90% of the RMD in this case is taken up by a gt table. Due to this, it obscures a huge amount of my background image as it appears gt tables are not transparent - see two tables below, you can see where the gt table begins as it cuts off the purple background image

I noticed in the documentation (the documentation is great by the way!) there is an alpha argument like so:

gt(df) %>% 
  tab_style(
   style = cell_fill(alpha=0),
   locations = cells_body()
  )

however this does not appear to work when rendering in the RMD file. Have I missed something? I've tried background="transparent" in the markdown renderer but still no good

thanks! really enjoying using the package so far.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.