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

Update default code-cell to enable collapsibility #245

Open
mmcky opened this issue Mar 14, 2024 · 3 comments
Open

Update default code-cell to enable collapsibility #245

mmcky opened this issue Mar 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@mmcky
Copy link
Contributor

mmcky commented Mar 14, 2024

It is sometimes convenient when reading a lecture to collapse a code-block (once the code has been read).

We should update the default code-cell to include an arrow that enables the collapse of the code-cell (by default).

@mmcky mmcky added the enhancement New feature or request label Mar 14, 2024
@mmcky
Copy link
Contributor Author

mmcky commented Mar 14, 2024

@AakashGfude do you have time to look at this?

@mmcky
Copy link
Contributor Author

mmcky commented Mar 14, 2024

@jstac comment

I was thinking that every cell would look like this (after "Hide code cell source" is changed to "Hide code" or just "Hide")

We could even drop "Hide code" everywhere and just have the arrow, which points to the right when the cell is closed and down when it's open.

I feel like that's a convention these days....?

image.png

@jstac
Copy link

jstac commented Mar 14, 2024

image

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