jupyter / jupyter/nbformat

What means the "collapsed": true parameter in markdown context?

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
313
Forks
176
PR merge metrics
No merged PRs in 30d

Description

In Github diff, I see sometimes changes like this for Jupyter notebooks:
![image](https://user-images.githubusercontent.com/44469195/139039187-788702a8-762f-4d78-b533-edef6b9ca6dc.png)
And I could not find what the collapse parameter means in markdown context:
https://nbformat.readthedocs.io/en/latest/format_description.html#markdown-cells
Can someone tell me what this is used for?

Contributor guide

Open the contributing guide

Research direction

Start with the markdown-cells section of the nbformat format description and compare it with the `collapsed` field shown in the linked GitHub diff. Done means clearly explaining what the parameter controls and where it is used in notebook markdown cells.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.