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

Sphinx "inline" line numbers? #85

Open
mgeier opened this issue Jun 27, 2020 · 3 comments
Open

Sphinx "inline" line numbers? #85

mgeier opened this issue Jun 27, 2020 · 3 comments

Comments

@mgeier
Copy link
Contributor

mgeier commented Jun 27, 2020

Just a little heads-up:

If and when sphinx-doc/sphinx#7879 is merged, those line number will probably have to be removed from the copied text.

@choldgraf
Copy link
Member

Ah good to know, thanks for the heads up

@rixx
Copy link

rixx commented Aug 15, 2021

Can confirm, sphinx-copybutton copies line numbers. It would be really nice to have both line numbers and copy functionality at the same time. Adding span.linenos {user-select: none} helps for manual copying, but not for automatic copying, I'm afraid.

@bicarlsen
Copy link
Contributor

bicarlsen commented Sep 21, 2021

I address this issue in this Pull Request 138.

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

4 participants