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

Nicer formatting for console output in docs #147

Open
flaki opened this issue Jun 9, 2022 · 0 comments
Open

Nicer formatting for console output in docs #147

flaki opened this issue Jun 9, 2022 · 0 comments

Comments

@flaki
Copy link
Contributor

flaki commented Jun 9, 2022

A really cool trick some docs sites employ is when they show a terminal command and its output they make the command itself selectable (and highlighted, even), while the passive output and terminal prompt is disabled/unselectable and faded out to make it clearer what's the actual command that is being run and what is the expected output.

We should consider implementing something like this (ideally besides the usual "copy" button).

image

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

1 participant