make code blocks collapsable
Bug #373279 reported by
dotancohen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Revert to original description:
Zim supports different heading levels. It would be nice if one could collapse the headings, in a fashion similar to code folding. The end of a block would be the start of a heading of equal or greater value to itself.
description: | updated |
summary: |
- Make a collapsible tree from the headings + make code blocks collapsable |
description: | updated |
To post a comment you must log in.
Would be a great feature to have, especially if extended to folding bullet & checkbox lists as well.
Unfortunately we can not re-use a existing code editing widget as these typically match on actual content, and use formatting for syntax highlighting. So making an existing component fold on headings is non-trivial.
Anyone wanting to dig in, patches are welcome. For me personally this is way down on my list for the foreseeable future.