mirror of
https://github.com/purocean/yn.git
synced 2026-09-01 15:37:16 +08:00
e9731f08a6
Agent-Logs-Url: https://github.com/purocean/yn/sessions/423ca3b8-9674-4d0f-98d1-bc1fd5c33c5d Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
1.2 KiB
1.2 KiB
Collapsible Lists Test
This document tests the collapsible list feature in Yank Note.
Note
: Enable collapsible lists by setting
render.list-collapsible: truein front matter or settings.
Basic Collapsible List
- Parent item 1
- Child item 1.1
- Child item 1.2
- Grandchild 1.2.1
- Grandchild 1.2.2
- Child item 1.3
- Parent item 2
- Child item 2.1
- Child item 2.2
- Parent item 3 (no children, not collapsible)
Deeply Nested List
- Level 1
- Level 2
- Level 3
- Level 4
- Level 5
- Level 6
- Level 5
- Level 4
- Level 3
- Level 2
Mixed List Types
- Ordered parent 1
- Unordered child A
- Unordered child B
- Ordered grandchild I
- Ordered grandchild II
- Ordered parent 2
- Unordered child C
Collapsible with Content
- Project Structure
src/- Source codemain/- Main applicationrenderer/- UI renderershare/- Shared utilities
test/- Test filesbuild/- Build configurationscripts/- Build scripts
Usage Notes
- Click the chevron icon to collapse/expand nested lists
- The chevron appears on hover for items with children
- Leaf items (no children) are not collapsible
- Configure via
render.list-collapsiblesetting