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

Collapse large code snippets in README into <details> blocks #390

Open
eecavanna opened this issue Feb 24, 2025 · 0 comments
Open

Collapse large code snippets in README into <details> blocks #390

eecavanna opened this issue Feb 24, 2025 · 0 comments
Labels
backlog documentation Improvements or additions to documentation

Comments

@eecavanna
Copy link
Contributor

          I recommend collapsing this snippet into a `<details>` element.
<details>
  <summary>Show/hide snippet</summary>

'''sh
snippet goes here
and
use real backticks instead of single quotes
'''

</details>

Result:

Show/hide snippet
snippet goes here
and
use real backticks instead of single quotes

Originally posted by @eecavanna in #353 (comment)

@eecavanna eecavanna added documentation Improvements or additions to documentation backlog labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant