giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.31k stars 456 forks source link

Collapsable Text Selections #2360

Open ventolinmx opened 9 months ago

ventolinmx commented 9 months ago

It would be great to have collapsable sections of text inside a node where users could select a piece of text and hide it and expand it with a little [+] button. This helps to read different parts of a note at the same time that are big. For example, suppose I have on my note a title and a general description. Then I have many different sections below but on each I would like to refer constantly to the general description because it has an important definition or something. This way i can make the description visible and navigate through the rest of the collapsed contents without scrolling too much. Also it would help to hide less relevant, detailed or redundant info and keep only the main sections in view that would help skim through the contents more efficiently.

guidomz commented 9 months ago

I concur. Some function similar to html's


<details>
    <summary>Title here</summary>
    Content here
</details>
RFImages commented 8 months ago

Yes! Word does this (using headings) and it is extremely useful for very long text bodies. (my HUGE todo list) https://support.microsoft.com/en-us/office/collapse-or-expand-parts-of-a-document-701786e0-95e2-40bf-bfe5-f0233cd3520c I hate having to copy to Word just for this feature and do my editing there and then copy it back to Cherry tree.

Please implement this - the headings are already there (h1,h2,h3) make them collapsible please! I will make a large donation!

RFImages commented 3 months ago

I am noting other requests and curious where (if?) this might be in the queue

https://github.com/giuspen/cherrytree/issues/2389

https://github.com/giuspen/cherrytree/issues/2026