-
Notifications
You must be signed in to change notification settings - Fork 28
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
Code blocks should not be collapsed. #22
Closed
Labels
Comments
Huddle Chat Notes:
|
ryelle
added
the
[Component] Syntax Highlighting
Related to the code snippets & syntax highlighter
label
Jun 1, 2022
An example of collapse/expand in a different location: https://docs.docker.com/engine/api/v1.41/#operation/ContainerList
For accessibility this would be very tricky to implement, and could have a negative impact on copying the code. Ideally the expand & collapse actions would be |
This was referenced Jun 7, 2022
This was
linked to
pull requests
Jun 9, 2022
renintw
added a commit
that referenced
this issue
Jun 9, 2022
ryelle
pushed a commit
that referenced
this issue
Jun 9, 2022
renintw
added a commit
that referenced
this issue
Jun 10, 2022
* Fix button not sticky, and overlapping * Increase number of lines shown based on discussion See #22 (comment). * Inject buttons before the `pre`, style like a frame header * Remove unused CSS attributes Co-authored-by: Kelly Dwan <[email protected]>
johnolson2219
pushed a commit
to johnolson2219/dev_wpMed
that referenced
this issue
Aug 26, 2023
* Fix button not sticky, and overlapping * Increase number of lines shown based on discussion See WordPress/wporg-developer#22 (comment). * Inject buttons before the `pre`, style like a frame header * Remove unused CSS attributes Co-authored-by: Kelly Dwan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Discussed in #4
Originally posted by StevenDufresne May 23, 2022
When we provide code for users, we should assume that all code is relevant and that it's better to see all the code than just a portion of it. I'm sure there are instances where functions are too long. In those cases, maybe we can collapse, or consider not showing the block.
Screenshot
The text was updated successfully, but these errors were encountered: