-
Notifications
You must be signed in to change notification settings - Fork 7
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
Don't select and/or copy line numbers #1
Comments
Did you play round with settings and toggle? |
The whole idea behind this plugin was to:
To select only the code when line numbers are shown, you could use tables. This is supported in Coderay, however it also requires additional CSS to format the table. See the discussion here: Using my plugin, just use the toggle to turn off line numbers before you copy. |
Thanks for your answers. Well, I see what you mean. Well, IMHO the toggle button is quite ugly and big :-) (no offence!!!!) and especially destroys the layout if you just have one liners. That's why I don't use it and in settings I enabled to show line numbers by default. Thanks for the link. The discussion there is a bit confusing to me. Not quite sure how to enable that, but I will read again. Thanks! EDIT: Well, right now I don't see my mentioned one liner problem here at my installation!? So, ignore that, please. :-) |
Hi there!
Thanks for your great plugin!
Unfortunately, if I select the source code, the line numbers are also selected and copied, which is not so nice if I want to paste it into my code files. So, is it possible that only the code is selected when line numbers are shown? I've seen that behaviour in github (I think), so I hope it's just some css magic!? :-)
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: