You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2026. It is now read-only.
add support for folding headings and code blocks in the markdown editor #905
# Headding 1## Heading 1.1```shellecho"Hello world!"```## Heading 1.2```shellecho"Example 2"```
Example text
Given the above note, all lines are shown in the code editor at all times. While fine for small notes, when a note has multiple headings/subheadings, it can be difficult to navigate.
Expected behavior
Adding the ability to fold sections of a note allows for easier navigation as large sections that do not need to be reviewed at the current time can be hidden from view.
# Headding 1## Heading 1.1## Heading 1.2```shell```
Example text
Ideally, each note would remember where its folded on a given device so that switching between notes would not unfold all folded sections. There should also be a way to fold/unfold all foldable sections of a note at once.
Activity
Rokt33r commentedon Aug 19, 2021
We might be able to use
foldcodeaddon of CodeMirror. https://codemirror.net/doc/manual.html#addon_foldcodeKomediruzecki commentedon Aug 19, 2021
@Rokt33r thanks,
I'll add this to local space roadmap and try playing with the addons, if it works well we can implement/port it to cloud space as well!