marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
7.78k stars 274 forks source link

Make the output of markdown cells expanded by default #2804

Open odanoburu opened 1 week ago

odanoburu commented 1 week ago

Description

Specially for markdown cells, it is undesirable to have the output be collapsed by default, it should be expanded by default. When I write something, I don't want the reader to have to scroll the cell to read it.

Suggested solution

Make the output of the markdown cells expanded by default. For other kinds of cells, it might be useful to have a way of specifying that we want the output of the cell to be expanded or collapsed by default.

Alternative

No response

Additional context

Related discussion: https://github.com/marimo-team/marimo/discussions/2765.

akshayka commented 1 week ago

Expanding pure markdown makes sense to me, thanks for the suggestion!

I'm hesitant to add configuration for other kinds of cells; seems less helpful, and adds more configuration/UI complexity.

odanoburu commented 1 week ago

I'm more than happy with just that, thank you :)