Runestone icon indicating copy to clipboard operation
Runestone copied to clipboard

Folding code blocks

Open fmt opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Folding code blocks would be a very nice addition 😋

Describe the solution you'd like Clicking an arrow or plus/minus sign would toggle expanding (unfold) and collapsing (fold) of an user selected code block. This allows the user to manage large amounts of text while viewing only those subsections that are currently of interest.

Reference https://en.wikipedia.org/wiki/Code_folding

fmt avatar Jul 21 '22 23:07 fmt

I'd love to support this in the Runestone framework one day. Right now I don't have the time to look into it.

simonbs avatar Jul 30 '22 11:07 simonbs