Add code folding
Closed this issue · 2 comments
anders-kolstad commented
I spent a long time trying to get code folding to work for the fpi wetlands chapter. It works for normal html_documents and also for gitbook but I have not found a way to included it for bs4_books. This is not essential. We can use scrollable code block instead.
anders-kolstad commented
anders-kolstad commented
For this web site we'll just continue to use scrollable code blocks, like this
pre {
max-height: 300px;
overflow-y: auto;
}
pre[class] {
max-height: 200px;
}
, but code folding is easy with quarto, so we can use quarto next time. See my own example here