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

Foldable Code Blocks #28

Open
aj-stein-nist opened this issue Jan 6, 2023 · 2 comments
Open

Foldable Code Blocks #28

aj-stein-nist opened this issue Jan 6, 2023 · 2 comments
Assignees

Comments

@aj-stein-nist
Copy link
Collaborator

As a reader of a website, in order for faster, more approachable reading of long-form content, I would like code blocks to be foldable, to collapse and expand as needed as part of long-form text.

Hat tip to @brianruf, who asked for this feature in the context of Metaschema in usnistgov/metaschema#277, but we need to implement the change in the hugo theme and templates here first.

@david-waltermire
Copy link
Collaborator

Trying to figure out how to approach this.

@aj-stein-nist Is there a basis for this in USWDS?

Would this be a type of accordian? Or is there a better approach?

@aj-stein-nist
Copy link
Collaborator Author

Trying to figure out how to approach this.

@aj-stein-nist Is there a basis for this in USWDS?

Would this be a type of accordian? Or is there a better approach?

Same, so I asked there community in their official Slack channel. Hopefully we get some good feedback sooner. Whether or not we do, I am sure I can help experiment with you. :-)

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

No branches or pull requests

2 participants