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

Make $ non selectable in commands #29

Closed
superbonaci opened this issue Sep 8, 2021 · 1 comment
Closed

Make $ non selectable in commands #29

superbonaci opened this issue Sep 8, 2021 · 1 comment

Comments

@superbonaci
Copy link

superbonaci commented Sep 8, 2021

All doc pages, example https://docs.darlinghq.org/contributing/generating-stubs.html
There are commands:

$ mkdir ~/bin

Either you double-click to select all line, or hit the copy floating icon, it copies the command as well the dollar symbol plus space $ (or % ).
This could be fixed making those 2 characters non-selectable for all commands.

Example URL: https://css-tricks.com/to-or-not-to-displaying-terminal-code-snippets/
Example code on that URL: brew install buttnugget (notice doesn't select $ ).
brew.sh homepage itself does this.

@CuriousTommy
Copy link
Contributor

Closing as PR #56 has been merge (it's more easier to just get rid of the $)

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