README file from
GithubList Fold
An Obsidian plugin that toggles fold/unfold on list items only, without touching headings.
Obsidian's built-in "Fold all" command folds both headings and lists. This plugin gives you list-specific folding, which is useful when you work with deeply nested outlines and want headings to stay expanded.
Commands
| Command | Description |
|---|---|
| Toggle fold top-level lists | Folds or unfolds only root-level list items in the current note |
| Toggle fold all list levels | Folds or unfolds every nested list item recursively |
Both commands detect the current fold state: if most target items are folded, they unfold; otherwise they fold.
Usage
- Open the command palette (
Ctrl/Cmd + P) - Search for "List Fold"
- Run either command
Assign hotkeys in Settings > Hotkeys for quick access.
Compatibility
- Works alongside the Outliner plugin
- Requires Obsidian desktop (uses CodeMirror 6 editor APIs)
Installation
From Community Plugins
- Open Settings > Community plugins
- Search for "List Fold"
- Click Install, then Enable
Manual
- Download
main.jsandmanifest.jsonfrom the latest release - Create a folder
list-foldin your vault's.obsidian/plugins/directory - Copy both files into that folder
- Enable the plugin in Settings > Community plugins
License
MIT