Enable code folding in bookdown and blogdown

Some time ago, I answered a question on stackoverflow to make code folding working with bookdown. Although this answer works, I was not totally satisfied with the behavior of the “Show/Hide Global” button. Today, I finally made it work properly ! I did “reverse engineering” to find what worked in …

Read more