Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProblem in Rmarkdown inline rendering with dark-themed Rstudio #21
Comments
|
Hi, thanks for reporting this, and sorry it took a while to respond. This should now be fixed in the latest development version on GitHub (670de5b). The problem is that the IDE applies the dark theme's text color styles to HTML widget output in R Notebooks. Since reactable doesn't set a default text color on most parts of the table, you end up with light text on white background. This seems to only happen with htmltools 0.4.0 installed, not 0.3.6 or older, so I think it's more of an issue with the IDE or htmltools. However, I've still implemented a workaround by setting an explicit text color on the table when rendered in an R Notebook. |

Hi, nice work on the package!
I´m using Rstudio with a dark theme ("vibrant ink"), and the tables shown in the preview of the Rmakdown are blank due to its font color.
Regards!