Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When reading from .md files, split markdown cells on titles to help with collapsing #3881

Open
meditans opened this issue Feb 22, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@meditans
Copy link

Description

Say one has this structure on a markdown representation of a notebook:

# Title of the thing
Description of what the file is trying to accomplish.
Ullam earum consectetur assumenda vero omnis qui perspiciatis eveniet. Quibusdam temporibus aut itaque quisquam iste rerum. Ut vero architecto est. Itaque enim porro error. Rerum non incidunt qui numquam perferendis sed eos vero. 

## First section

this is read by marimo as a single markdown cell, and that means that one can only opt to collapse it to Title of the thing. It would be nice instead if I could collapse the First section alone.

Suggested solution

When you read from markdown file, consider splitting the content in cell based on headlines.

Alternative

No response

Additional context

No response

@meditans meditans added the enhancement New feature or request label Feb 22, 2025
@dmadisetti
Copy link
Collaborator

dmadisetti commented Feb 22, 2025

Markdown cells can be split with an empty html tag
<!-->

Hmm, I think splitting on headings is little opinionated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants