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

How can I remove linenos from the copied text? #144

Open
zhyantao opened this issue Oct 23, 2021 · 2 comments
Open

How can I remove linenos from the copied text? #144

zhyantao opened this issue Oct 23, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@zhyantao
Copy link

zhyantao commented Oct 23, 2021

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.

@zhyantao zhyantao added the bug Something isn't working label Oct 23, 2021
@welcome
Copy link

welcome bot commented Oct 23, 2021

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

@choldgraf
Copy link
Member

This is going to be fixed in #138

@choldgraf choldgraf added enhancement New feature or request and removed bug Something isn't working labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants