sphinx-copybutton
sphinx-copybutton copied to clipboard
How can I remove linenos from the copied text?
Describe the problem
I am using is sphinx_book_theme.
When I try to use copy button to copy the text, however, the linenos also included.
I just want to use linenos to view the line numbers, and I don’t want them to be copied to the clipboard.
Thank you so much~
Steps to reproduce
For example: website
And this is my conf.py.
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
This is going to be fixed in https://github.com/executablebooks/sphinx-copybutton/pull/138