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

Incorporate copy button for shell script and other code snippets in the docs #46

Open
krishnakumarg1984 opened this issue Aug 3, 2023 · 1 comment

Comments

@krishnakumarg1984
Copy link

mkdocs for material comes with a new copy code button that makes it easy to copy code such as those given in the example job scripts page here.

Achieving this requires just a simple yaml config update as per their docs here (not sure from which version of mkdocs was that feature incorporated).

@ikirker
Copy link
Collaborator

ikirker commented Aug 4, 2023

I have a half-memory that suggests I might have deliberately left this or a feature like this off on the instruction of the accessibility folks because it made the page incomprehensible to screen readers (via nested buttons with repeated, undifferentiated buttons that each got read out separately?).

If someone's enabling this, please check what it sounds like.

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

No branches or pull requests

2 participants