Open entwanne opened 5 years ago
First recognize only titles starting with #. A split can occur before a title, just after it or both (add two options for each title level).
#
Maybe the option should specify a level N and have the split occurred for each level≤N?
And have an option to specify which kind of split is needed: new slide, new subslide, new fragment. A split gives the type of the following cell.
Other splits are with horizontal lines (-----).
-----
Give dict options to parse_cells to chose which token should generate a split, and of which kind. And merge splits with mathematical rules : slide > subslide > fragment > continue > notes > skip.
parse_cells
First recognize only titles starting with
#
. A split can occur before a title, just after it or both (add two options for each title level).Maybe the option should specify a level N and have the split occurred for each level≤N?
And have an option to specify which kind of split is needed: new slide, new subslide, new fragment. A split gives the type of the following cell.
Other splits are with horizontal lines (
-----
).