marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Save markdown heading collapsed states

Open riyavsinha opened this issue 9 months ago • 1 comments

Description

I would like to save the collapsed state of a markdown header.

Suggested solution

Add an argument to the app.cell decorator.

@app.cell(collapsed=True)
def _(mo):
    mo.md(r"""### Setup""")
    return

Alternative

No response

Additional context

No response

riyavsinha avatar Feb 17 '25 23:02 riyavsinha

I think as a first iteration, we can save to localStorage based on some unique ID of the header (filename, title, position)

mscolnick avatar Apr 23 '25 21:04 mscolnick