Description
I'm using Bookdown with the Gitbook template. I've noticed that this template contains a plugin-highlight.css stylesheet with rules for highlight.js. However, highlight.js is not enabled in the template and the default highlighting seems to user other scripts/styles.
I've now disabled the default highlighting with highlight: null
in _output.yml and added highlight.js myself. When I do this, the template picks up the styles in plugin-highlight.css and these override the highlight.js stylesheet I've added myself.
So I'm wondering: What's the purpose of plugin-highlight.css in this template? Is it just a leftover? Or am I supposed to use this template when I use highlight.js, so it matches the Gitbook styles?
https://stackoverflow.com/questions/64646749/bookdown-whats-the-purpose-of-plugin-highlight-css
By filing an issue to this repo, I promise that
- I have fully read the issue guide at https://yihui.org/issue/.
- I have provided the necessary information about my issue.
- If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
- If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included
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')
. - If I have posted the same issue elsewhere, I have also mentioned it in this issue.
- I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.