Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell folding that respects the user foldexpr #19

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

GCBallesteros
Copy link
Owner

@cnrrobertson
This is very much WIP. Code is a mess and is missing all kind of sanity checks but the core idea is there

@patnr
Copy link

patnr commented Dec 1, 2023

Jumping in here as well! Would this support automatically nested folds?

In long notebooks (paired with Jupytext) it is common include several levels of section headings (usually # ## ### etc). It would be great if this could be detected. Accordingly, the foldtext would display the heading.

I guess it might be complicated to support different Jupytext formats and section heading markers. Perhaps the user would have to chose the light format and set the cell_markers Jupytext option .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants