You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same feature as in rmarkdown::html_document(code_folding="hide") with gitbook() and html_chapters()?
Just wondering whether this is on bookdown's roadmap? I understand this wouldn't work in other formats but HTML, but I tend to use bookdown to share complex working drafts and studies that span multiple sections with partners/clients who are not interested in scrolling through long chunks of R codes. Completely hiding all codes (as I do now) is less informative and less reproducible though (and some of my colleagues would rather see them in the document).
Thanks!
Reacted by CAP-GIS, Giorgio Comai, Li Bowen, Kevin Mickey, Jemma Stachelek, Peter Diakumis, Frank, Carson Sievert, Peter Desmet and isaactpetersen
Activity
yihui commentedon May 15, 2017
I think it is possible to implement it for
gitbook(e.g. a button on the toolbar), but I don't have time until I finish the blogdown book.Update: https://stackoverflow.com/q/45360998/559676
cderv commentedon Mar 18, 2021
In french but other reference of outside solution that works with bookdown:
https://statnmap.com/fr/2017-11-13-afficher-cacher-les-zones-de-code-avec-bookdown-et-blogdown/
cderv commentedon Mar 24, 2021
Duplicate of #764