Open ChristopherBurgess-USDA opened 5 years ago
I think we need to apply the same fix in the gitbook.html
template
https://github.com/rstudio/bookdown/blob/master/inst/templates/gitbook.html
I'll look into that. Thanks for the report and your patience with this issue!
For reference this is this part https://github.com/rstudio/rmarkdown/blob/145046175c721af185aa6ba3ecc9262f12dc7369/inst/rmd/h/default.html#L85-L105
See https://github.com/rstudio/rmarkdown/commit/a0c0c681f03049a8e017d6ca5295160698cc17a1 and https://github.com/rstudio/rmarkdown/commit/13864b32207cac08ea711db1c75b79b6629d2661
Hello,
I think this is a bug that was addressed in in rmarkdown issues #1471; however, the bug seems to be persistent when rendering a git book format. Essentially, the background color for the code blocks in the gitbook render are not the correct color.
Session Info
By filing an issue to this repo, I promise that
xfun::session_info('bookdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/bookdown')
.I understand that my issue may be closed if I don't fulfill my promises.