cell bookmarks
Does marimo have "jump to cell" bookmarks? (that can be used from markdown or
mo.md(f'''Jump to {target}...
) Or a table of contents widget?3 Replies
we show the table of contents on the right-hand side of the notebook. you can create entries with markdown:
oh, that's what those lines are for!
that's subtle. I can see how it's often desirable, but is there way in app mode to default to open the ToC, and have a collapse control instead?
An open Outline on left side would by default would work better for app mode (for our audience).
you can't currently. you can have the open outline in edit mode, but not app mode.
you could also try
mo.sidebar
but those #anchors
would need to match up with your document. it wouldnt be auto-generated
we could add mo.toc()
which would be the auto-generated.
(if you are open to making the contribution, i think it would be a great addition)