NotebookNavigator.nvim icon indicating copy to clipboard operation
NotebookNavigator.nvim copied to clipboard

Cell folding that respects the user foldexpr

Open GCBallesteros opened this issue 2 years ago • 1 comments

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

GCBallesteros avatar Oct 27 '23 14:10 GCBallesteros

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 .

patnr avatar Dec 01 '23 10:12 patnr