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

Prompt (e.g. $ is copied with sphinx-copybutton) #93

Open
rkdarst opened this issue Sep 13, 2022 · 1 comment
Open

Prompt (e.g. $ is copied with sphinx-copybutton) #93

rkdarst opened this issue Sep 13, 2022 · 1 comment

Comments

@rkdarst
Copy link
Member

rkdarst commented Sep 13, 2022

Example: https://coderefinery.github.io/git-intro/basics/#recording-a-snapshot-with-git
copying the text excludes the $, but if you click the copy button, the $ are copied.

@rkdarst
Copy link
Member Author

rkdarst commented Sep 13, 2022

executablebooks/sphinx-copybutton#178

In theory this would work:

pip install https://github.com/rkdarst/sphinx-copybutton/archive/exclude-unselectable-3.zip

but I get this error:

Error: Support for symbolic links is required

A local pip install with a local directory path does work, and does result in $ not being copied.

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