A lightweight way to fold Markdown sections and fenced code blocks right inside Inkdrop’s editor. Adds a fold gutter and commands so you can focus on the parts that matter.
- Fold indicators are always visible in the left gutter. Click them to fold or unfold a block.
- Or use the commands and default keybindings below. Commands are available using Telescope by searching for "Code Fold:"
- Ctrl+M Ctrl+L: Toggle fold at cursor (
code-fold:toggle-fold
) - Ctrl+M Ctrl+8: Fold all (
code-fold:fold-all
) - Ctrl+M Ctrl+9: Unfold all (
code-fold:unfold-all
)
Provided for compatibility with v1.x:
- Ctrl+Shift+E / Cmd+Shift+E: Fold all (
code-fold:fold-all
) - Ctrl+Shift+R / Cmd+Shift+R: Unfold all (
code-fold:unfold-all
)
You can customize or add your own keybindings from Inkdrop's Preferences > Keybindings.
- Support Inkdrop v6
- Migrated from CodeMirror v5 to v6