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
{{ message }}
Repository navigation
[FR] Add option to customize code-folding "Show"/"Hide" button text #2613
The code folding feature is quite useful, but I think its appearance could be improved. The button says "Show", which is a reasonable default given that what is folded may not be code. However, this ambiguity means that if all the code in folded in a document, it is not clear what "Show" actually does.
Ideally, I think this would be a chunk option, since a single document could have different types of things, code or otherwise, folded. Also, the way distill formats the button as text with a rotating arrow looks cleaner and more modern to me.
If there is interest in this feature, I would be happy to work on it and submit a PR to address it.
Activity
yihui commentedon Mar 31, 2026
That makes sense to me. Please try a PR. Thank you!