sphinx-copybutton
sphinx-copybutton copied to clipboard
Sphinx "inline" line numbers?
Just a little heads-up:
If and when https://github.com/sphinx-doc/sphinx/pull/7879 is merged, those line number will probably have to be removed from the copied text.
Ah good to know, thanks for the heads up
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.
I address this issue in this Pull Request 138.