tui.fold_toggle
tui.md.fold_toggle PANE [HEADING]
Folds or unfolds the section under a heading of the document shown in PANE.
Parameters
HEADING: the index of the heading inTUI_MD_HEADSorder. Default: the heading at the top of the view.
Notes
- A folded section shows a
▸ N rows foldedline in its place.
Example
tui.md.fold_toggle docs 2
